• What is KendoReact
  • Getting Started
  • Unstyled Mode
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chart Wizardnew
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Toolsupdated
    • Date Inputs
    • Date Math
    • Dialogsupdated
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBoxupdated
    • ListView
    • Map
    • Notification
    • OrgChart
    • PDF Processing
    • PDF Viewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheet
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

GridColumnProps

The props of the GridColumn component.

NameTypeDefaultDescription

cell?

React.ComponentType<GridCellProps>

Defines the component that will be rendered as a cell. If not set, a GridCell will be rendered by default.

cells?

GridCellsSettings

Sets a set of cells components that the Grid will render instead of the built-in cell.

children?

GridColumnProps[] | ReactElement<GridColumnProps>[] | GridColumnChildrenProps[]

A collection of child columns.

className?

string

Sets the custom CSS classes to the column cells.

columnMenu?

React.ComponentType<GridColumnMenuProps>

Specifies a React element that will be cloned and rendered inside the column menu of the Grid (see example).

editable?

boolean

Defines whether the column is editable (more information and examples).

editor?

"boolean" | "text" | "date" | "numeric"

Defines the editor type. Used when the column enters the edit mode (more information and examples). Defaults to text.

field?

string

The field to which the column is bound.

filter?

"boolean" | "text" | "date" | "numeric"

Defines the filter type that will be rendered inside the filter row. Defaults to text.

filterable?

boolean

Defines if a filter UI will be rendered for this column. Defaults to true.

filterCell?

React.ComponentType<GridFilterCellProps>

Defines the component that will be rendered as a filter cell. If not set, a GridFilterCell will be rendered by default.

filterTitle?

string

Defines the title which will be set to the input element in the filter cell.

footerCell?

React.ComponentType<GridFooterCellProps>

Defines the component that will be rendered as a footer cell. The footer has to render an HTML <td> element and applies the style and colspan values from its props.

<GridColumn
 footerCell={props => (
   <td className='k-table-td' colSpan={props.colSpan} style={props.style} role={'gridcell'}>Sum: 50</td>
 )}
/>

format?

string

The format that is applied to the value before it is displayed. Takes the {0:format} form where format is a standard number format, a custom number format, a standard date format, or a custom date format. For more information on the supported date and number formats, refer to the kendo-intl documentation.

groupable?

boolean

Determines if the column can be dragged to the group panel. Defaults to true.

headerCell?

React.ComponentType<GridHeaderCellProps>

Defines the component that will be rendered as a header cell. If not set, a GridHeaderCell will be rendered by default.

headerClassName?

string

Sets the custom CSS classes to the column header cell.

headerSelectionValue?

boolean

Defines if the header selection checkbox is checked.

hidden?

boolean

Controls the visibility of Grid's column. Defaults to false.

id?

string

The column identifier used to distinguish columns for example in multi column header scenarios with resize and keyboard navigation. Also used for unique key for rendering the component cells. If not set, the component will generate unique id automatically.

locked?

boolean

Defines if the column is locked (frozen or sticky). Locked columns are the columns that are visible at all times while the user scrolls the component horizontally. Defaults to false.

media?

string

Sets the screen size condition that needs to be satisfied for a column to remain visible. If you set the hidden property, the behavior of media is overridden.

menuIcon?

SVGIcon

Overrides the default(three vertical dots) column menu icon or the icon set through the (columnMenuIcon) property.

minResizableWidth?

number

The width of the column (in pixels) below which the user is not able to resize the column through the UI. Defaults to 10.

orderIndex?

number

Determinates the position of the column. Columns with smaller orderIndex will appear before columns with bigger orderIndex. Defaults to 0.

reorderable?

boolean

Indicates whether the column is reorderable.

resizable?

boolean

Indicates whether the column is resizable.

sortable?

boolean | GridColumnSortSettings

Allows the column headers to be clicked and the sortChange event emitted. You have to handle the sortChange event yourself and sort the data. Defaults to true.

title?

string

The title of the column.

width?

string | number

The width of the column (in pixels).