Version

TransformDataSource Method (GridFiltering)

Implementation for filtering on the data source level. When transformDataSource is called, the filtering feature analyzes the query string and then applies a LINQ Where clause on the IQueryable data source, also translating filtering expression objects to a LINQ where predicate
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
grid
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