Export (0) Print
Expand All
Expand Minimize

PostFilterUpdate delegate

A delegate representing an operation that will be done on filtered dataset prior to serialization.

Namespace:  Microsoft.SharePoint.JSGrid
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public delegate void PostFilterUpdate(
	GridSerializer gds,
	DataTable filteredTable
)

The GridSerializer is given all the data, and then applies sorting, filtering, grouping, and slicing. For example, if you want rows 5 through 30, you still have to provide the GridSerializer with all the data, and then it will sort, group, filter, and figure out which rows are 5 through 30. Then the data is sliced to just rows 5 through 30 prior to generating the JavaScript Object Notation (JSON) string. This delegate is called after the data is sliced, but before it is serialized. This prevents the consumer of the grid from processing rows that will not be downloaded.

Show:
© 2014 Microsoft