Event arguments passed when RadGrid calls its NeedDataSource event.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
C#
public class GridNeedDataSourceEventArgs : EventArgs
Inheritance: objectEventArgsGridNeedDataSourceEventArgs
Inherited Members
Constructors
C#
public GridNeedDataSourceEventArgs(GridRebindReason RebindReason, int startRowIndex, int rowsCount)
C#
public GridNeedDataSourceEventArgs(GridRebindReason RebindReason)
Properties
Gets a value indicating if the
C#
public bool IsFromDetailTable { get; }
The is from detail table.
Gets a value specifying why the NeedDataSource event was fired.
C#
public GridRebindReason RebindReason { get; }
The rebind reason.
Gets a value specifying the number of rows that should be extracted from the data source when virtualization and custom paging are enabled.
C#
public int RowsCount { get; }
The total rows count.
Gets a value specifying the index of the first row in the data source that should be extracted when virtualization and custom paging are enabled.
C#
public int StartRowIndex { get; }
The first row index.