GridSerializer properties

The GridSerializer type exposes the following members.

Properties

  Name Description
Public property AdditionalParams Gets a collection of information for the consumer of the GridSerializer to populate with any additional information they want sent to the client.
Public property AutoFilterColumnKeys Gets or sets a collection of column keys identifying the columns to be computed when serialization mode is set to auto-filter. When EnableAutoFilterEntryGeneration is set to true, AutoFilterColumnKeys dictates in which columns auto-filter entries are generated.
Public property BottomRecordKey Gets or sets the bottom record key.
Public property CellStyles Gets a mapping of cell style IDs, represented as strings, to cell styles.
Public property DisableRecordKeyHash Gets or sets a value that indicates whether the record key has been disabled.
Public property EnableAutoFilterEntryGeneration Gets or sets a value to determine whether auto-filter entries are generated. AutoFilterColumnKeys dictates in which columns auto-filter entries are generated.
Public property GanttBarStyleIdsColumnName Gets or sets the GanttBarStyleIds column name.
Public property GanttDependentsColumnName Gets or sets the gamtt dependents column name.
Public property GanttStyleInfo Gets the gantt style information.
Public property GridColumnMap A map of strings representing column keys to the grid columns they uniquely identify. This map is populated based on the collection passed into the GridColumns property.
Public property GridColumns Gets or sets the collection of columns to be displayed in the grid.
Public property GridFieldMap A map of strings representing field keys to the GridField objects they uniquely identify. This map is populated based on the collection passed into the GridFields property.
Public property GridFields Gets or sets a collection of rich information about the data columns in the serializer’s data source.
Public property GridRowStyleIdColumnName Gets or sets a value specifying the ColumnName in the external source table that contains the style IDs for the cells in a given row. Must be specified if using grid row styles and the ColumnName for the DataColumn containing these values does not equal the value in the constant DefaultGridRowStyleIdColumnName.
Public property GroupingDescendantCountColumnName Gets or sets the grouping descendant count.
Public property GroupingOutlineLevelColumnName Gets or sets the grouping outline level.
Public property GroupingParentKeyColumnName
Public property GroupingRecordKeyPrefix Gets or sets the grouping record key prefix.
Public property HierarchyDescendantCountColumnName Gets or sets a ColumnName that is not present in the external source table. Only needs to be specified if there is or could be a DataColumn whose ColumnName equals the value in the constant DefaultGroupingDescendantCountColumnName. If a Microsoft.SharePoint.JSGrid instance is populated by multiple GridSerializer objects over its lifetime, this value must remain consistent.
Public property HierarchyOutlineLevelColumnName Gets or sets a ColumnName that is not present in the external source table. Only needs to be specified if there is or could be a DataColumn whose ColumnName equals the value in the constant DefaultHierarchyOutlineLevelColumnName. If a Microsoft.SharePoint.JSGrid instance is populated by multiple GridSerializer objects over its lifetime, this value must remain consistent.
Public property HierarchyOutlineTextColumnName Gets the hierarchy outline of text.
Public property HierarchyParentKeyColumnName Gets or sets the hierarchy parent key column.
Public property IncludeNonGridFields Gets or sets a property indicating whether data columns present in the data source, but not in the grid fields collection, will be serialized.
Protected property Index Gets the index value.
Public property IsGanttJavaScriptRequired
Public property IsGroupingEnabled
Public property IsHierarchyEnabled
Public property JsonEncoders
Public property KeyColumnName Gets or sets a string that corresponds to the column name of the data column in the external source table that contains values that uniquely identify records. This value was specified in the constructor.
Public property KeyDeserializer Gets or sets a delegate that takes a string representing a JavaScript Object Notation (JSON) serialized key, and returns a corresponding object. For instance, this delegate might take a string “4” and return a Int32 with the value 4.
Public property LocaleCulture Gets or sets the locale.
Public property Mode Gets or sets the grid serializer mode.
Public property MultiValueSeparator Gets or sets the string used to separate localized values in multi-valued grid fields.
Public property PagingFilter Gets or sets a paging filter which indicates the row view indices of the rows that will be serialized.
Public property PaneLayout Gets or sets the pane layout.
Public property PivotedGridColumns Gets the pivoted grid columns.
Public property PostProcess Gets or sets a delegate to be called after the serialization dataset is fully populated, but before it is actually serialized.
Public property PostSliceFieldAppender Gets or sets a delegate that will be called after slicing the data. It provides the opportunity to add more fields to the grid after it is known which records will be present.
Public property RecordEditModeColumnName Gets or sets the column name of the record to enable editing on.
Public property RememberedRecordKeyHash Disables the computation of a hash of the ordered record key view sent to the client.
Public property RowAutoFilter Gets or sets a map of column keys to serialized data values.
Public property RowFilter Gets or sets an XML string specifying how a row is filtered.
Public property SortedColumns Gets or sets the sorted columns associated with the grid.
Public propertyStatic member StringPropTypeId Gets the string representing the strong property type ID.

Top

See also

Reference

GridSerializer class

Microsoft.SharePoint.JSGrid namespace