Skip to main content

GridColumn Properties

An object defining properties for the GridColumn class.

Order

Gets or sets the display order of the column in the grid.

Type: short

This property determines the position of the column within the grid. Lower values place the column further to the left, while higher values place it further to the right.


Name

Gets or sets the identifier name of the grid column.

Type: string

This property specifies the unique identifier name for the column in the grid. It is used to bind the column to its data source and for programmatic access.


DisplayFormat

Gets or sets the display format for the column's data.

Type: string

This property specifies how the data in the column should be formatted for display. It can include format strings for dates, numbers, or other data types to control their presentation.


DataType

Gets or sets the data type of the column's content.

Type: string

This property specifies the type of data that the column contains. It helps the grid understand how to handle and display the column's values appropriately.


Caption

Gets or sets the display caption of the grid column.

Type: string

This property specifies the text that appears in the column header of the grid. It provides a user-friendly label for the column content.