Compartilhar via


GridField Members

Include Protected Members
Include Inherited Members

Represents a field of data in the grid.

The GridField type exposes the following members.

Constructors

  Name Description
Public method GridField Default constructor for creating a GridField.

Top

Properties

  Name Description
Public property CustomComparer Gets or sets a custom delegate to use for sorting, grouping and filtering, if the built-in system comparison is not adequate.
Public property DefaultCellStyleId Gets or sets a value specifying the default cell style of cells appearing in the GridColumn associated with this GridField.
Public property EditMode Gets or sets the edit mode of the cells that appear in the GridColumn associated with this GridField.
Public property FieldKey Gets or sets a string uniquely identifying this field.
Public property HierarchyTable Gets or sets the hierarchy table for this grid field.
Public property Localizer Gets or sets a ValueLocalizer which defines how data values are converted to localized values. This delegate is only called to localize single values, even for multi-value fields.
Public property MultiValue Gets or sets a setting indicating whether this is a multi-value field.
Public property PropertyTypeId Gets or sets a property type ID.
Public property SerializeDataValue Indicates whether data should be downloaded to the client.
Public property SerializeLocalizedValue A Boolean indicating whether to bring over the localized value.
Public property TextDirection Indicates whether the text direction will be from left to right or right to left.

Top

Methods

  Name Description
Public method AssociateWithLookupTypeInfo Associates the current GridField object with the specified LookupTypeInfo object. This method sets the PropertyTypeId property in addition to creating CustomComparer and Localizer properties for this field based on the characteristics of the LookupTypeInfo object.
Public method Compare
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToJson Serializes this object to the JavaScript Object Notation (JSON).
Public method ToString (Inherited from Object.)

Top

See Also

Reference

GridField Class

Microsoft.SharePoint.JSGrid Namespace