Esempio n. 1
0
 /// <summary>
 /// Populates the specified options.
 /// </summary>
 /// <param name="options">The options.</param>
 public virtual void CopyFrom(GridOptions options)
 {
     PageNumber = options.PageNumber;
     PageSize = options.PageSize;
     TotalCount = options.TotalCount;
     Column = options.Column;
     Direction = options.Direction;
 }
Esempio n. 2
0
 /// <summary>
 /// Populates the specified options.
 /// </summary>
 /// <param name="options">The options.</param>
 public virtual void CopyFrom(GridOptions options)
 {
     PageNumber = options.PageNumber;
     PageSize   = options.PageSize;
     TotalCount = options.TotalCount;
     Column     = options.Column;
     Direction  = options.Direction;
 }
Esempio n. 3
0
        /// <summary>
        /// Populates the specified options.
        /// </summary>
        /// <param name="options">The options.</param>
        public override void CopyFrom(GridOptions options)
        {
            var searchableGridOptions = options as SearchableGridOptions;
            if (searchableGridOptions != null)
            {
                SearchQuery = searchableGridOptions.SearchQuery;
            }

            base.CopyFrom(options);
        }
Esempio n. 4
0
        /// <summary>
        /// Populates the specified options.
        /// </summary>
        /// <param name="options">The options.</param>
        public override void CopyFrom(GridOptions options)
        {
            var searchableGridOptions = options as SearchableGridOptions;

            if (searchableGridOptions != null)
            {
                SearchQuery = searchableGridOptions.SearchQuery;
            }

            base.CopyFrom(options);
        }