Version

TransformDataSource Method (TreeGridPaging)

applies Skip, Take and Count on the IQueryable. It overrides TransformDataSource of the base GridPaging. If Type is remote and Mode AllLevels then it is applied paging based on the visible records(taking into account expanded/collapsed records). Otherwise it is used base GridPaging - TransformDataSource.
Syntax
'Declaration
 
Public Overrides Sub TransformDataSource( _
   ByVal queryString As System.Collections.Specialized.NameValueCollection, _
   ByVal grid As IGridModel, _
   ByRef queryable As System.Linq.IQueryable _
) 
public override void TransformDataSource( 
   System.Collections.Specialized.NameValueCollection queryString,
   IGridModel grid,
   out System.Linq.IQueryable queryable
)

Parameters

queryString
The query string.
grid
The grid.
queryable
The queryable.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub