GridSerializer methods
The GridSerializer type exposes the following members.
Methods
Name | Description | |
---|---|---|
ApplyIncrementalChanges | Informs the grid of changes made on the client. Allows the GridSerializer object to consider local changes when sorting, grouping and slicing. | |
ApplyPostViewIncrementalInsertsAndDeletes | Applies relevant record insert and delete changes to the input data table before slicing occurs. | |
DefaultCompare | Implements a default comparison of two objects by using their IComparable implementations. | |
EnableGantt | Configures the grid to display a Gantt chart in the right pane. In cases where a GridSerializer instance is populated by multiple GridSerializer objects over its lifetime, this function can only be called if ReserveGantt(String) or EnableGantt was called on the initial GridSerializer object. | |
EnableGridRowStyles | Provides a delegate that will populate row styles. | |
EnableGrouping | Configures the grid to display grouping. | |
EnableHierarchy | Configures the grid to display its rows in a hierarchy. | |
EnableHierarchyWithExplicitFilter<TTag> | Sets up the unfiltered hierarchy table. The DataTable should contain two columns, "Key" and "Parent". DBNull.Value is a valid value for the Parent column. The Parent column points to the index, not at the key. The two other strings represent the columns that will be used when interacting with the real data. | |
EnableIncrementalChanges | Prepares the GridSerializer object for accepting incremental changes. | |
EnableMinimalMode | ||
EnablePivotedGridPane | Configures the grid to display a second pane on right pane. This pane can be a fixed multiple of rows for each row in the left pane. | |
EnableRecordEditMode | Provides a delegate to apply the record edit mode after slicing has occurred. | |
EnableReservedHierarchy | Configures the grid to display its rows in a hierarchy. | |
EnableRowFiltering | Configures the grid to hide records based on the specified criteria. This must be called if the RowFilter or RowAutoFilter property is specified. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetChangesFromJson<KeyType> | Extracts a collection of Change objects from the passed-in JavaScript Object Notation (JSON). | |
GetFilterFields | Parses the specified rowFilterXML for GridField references, and returns their field keys. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
LocalizeField | Uses the grid’s process (including calling out to the GridField) to localize a data value in a given cell. Useful for populating grouping rows. | |
MemberwiseClone | (Inherited from Object.) | |
RegisterPropLookupType | Registers a lookup property type with the serializer. | |
ReserveGantt | Reserves Gantt information in case it will be used. | |
ReserveGrouping | For use when a GridSerializer instance is populated by multiple GridSerializer objects over its lifetime, this method notifies the GridSerializer object that grouping could be enabled later in the lifetime of the Microsoft.SharePoint.JSGrid instance being configured. Must be called on the initial GridSerializer object for that Microsoft.SharePoint.JSGrid instance. | |
ReserveHierarchy(DataTable, String, String, Boolean) | For use when a Microsoft.SharePoint.JSGrid instance is populated by multiple GridSerializer objects over its lifetime, this method notifies the GridSerializer object that hierarchy could be enabled later in the lifetime of the Microsoft.SharePoint.JSGrid instance being configured. Must be called on the initial GridSerializer object for that Microsoft.SharePoint.JSGrid instance. | |
ReserveHierarchy<TTag>(DataTable, String, String, Boolean, HierarchyValidationMode, DataTable) | Sets up the unfiltered hierarchy table. The DataTable should contain two columns, "Key" and "Parent". DBNull.Value is a valid value for the Parent column. The two other strings represent the columns that will be used when interacting with the real data. | |
RestoreHierarchyState | Restores hierarchy from a hierarchy state stored as a JavaScript Object Notation (JSON) string. | |
SetHierarchyStateExpandedToLevel | Specifies how many levels to expand the hierarchy | |
ToJson | Convert to Json. | |
ToString | (Inherited from Object.) |
Top