IHxGridColumn #

Grid column.

API #

Methods #

Method Returns Description
GetDefaultSortingOrder() int? Gets the default sorting order of the column.
GetFooterCellTemplate(GridFooterCellContext context) GridCellTemplate Returns the footer cell template.
GetHeaderCellTemplate(GridHeaderCellContext context) GridCellTemplate Returns the header cell template.
GetId() string Returns the unique column identifier.
GetItemCellTemplate(TItem item) GridCellTemplate Returns the data cell template for the specific item.
GetItemPlaceholderCellTemplate(GridPlaceholderCellContext context) GridCellTemplate Returns the placeholder cell template.
GetOrder() int Gets the column order (for scenarios where the column order can be modified). The default value should be 0. When columns have the same order, they should render in the order of their registration (which is usually the same as the column appearance in the source code, but it differs when the column is displayed conditionally using an @if statement).
GetSorting() SortingItem<TItem><> Gets the sorting of the column.
IsVisible() bool Indicates whether the column is visible (otherwise, the column is hidden). It is not suitable to conditionally display the column using an @if statement in the markup code.
An unhandled error has occurred. Reload 🗙