다음을 통해 공유


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)

Syntax

'Declaration
Public Delegate Sub PostFilterUpdate ( _
    gds As GridSerializer, _
    filteredTable As DataTable _
)
'Usage
Dim instance As New PostFilterUpdate(AddressOf HandlerMethod)
public delegate void PostFilterUpdate(
    GridSerializer gds,
    DataTable filteredTable
)

Parameters

Remarks

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.

See Also

Reference

Microsoft.SharePoint.JSGrid Namespace