Skip to main content
All docs
V23.2

GanttColumnBuilder<T> Methods

A Gantt column.
Name Description
Alignment(HorizontalAlignment) Aligns the content of the column. Mirrors the client-side alignment object.
AllowFiltering(JS) Specifies whether data can be filtered by this column. Applies only if filterRow.visible is true. Mirrors the client-side allowFiltering object.
AllowFiltering(Boolean) Specifies whether data can be filtered by this column. Applies only if filterRow.visible is true. Mirrors the client-side allowFiltering object.
AllowHeaderFiltering(JS) Specifies whether the header filter can be used to filter data by this column. Applies only if headerFilter.visible is true. By default, inherits the value of the allowFiltering property. Mirrors the client-side allowHeaderFiltering object.
AllowHeaderFiltering(Boolean) Specifies whether the header filter can be used to filter data by this column. Applies only if headerFilter.visible is true. By default, inherits the value of the allowFiltering property. Mirrors the client-side allowHeaderFiltering object.
AllowSorting(JS) Specifies whether a user can sort rows by this column at runtime. Applies only if sorting.mode differs from 'none'. Mirrors the client-side allowSorting object.
AllowSorting(Boolean) Specifies whether a user can sort rows by this column at runtime. Applies only if sorting.mode differs from 'none'. Mirrors the client-side allowSorting object.
CalculateCellValue(RazorBlock) Calculates custom cell values. Use this function to create an unbound data column. Mirrors the client-side calculateCellValue object.
CalculateCellValue(String) Calculates custom cell values. Use this function to create an unbound data column. Mirrors the client-side calculateCellValue object.
CalculateDisplayValue(JS) Calculates custom display values for column cells. Requires specifying the dataField or calculateCellValue property. Used in lookup optimization. Mirrors the client-side calculateDisplayValue object.
CalculateDisplayValue(String) Calculates custom display values for column cells. Requires specifying the dataField or calculateCellValue property. Used in lookup optimization. Mirrors the client-side calculateDisplayValue object.
CalculateFilterExpression(RazorBlock) Specifies the column's custom rules to filter data. Mirrors the client-side calculateFilterExpression object.
CalculateFilterExpression(String) Specifies the column's custom rules to filter data. Mirrors the client-side calculateFilterExpression object.
CalculateSortValue(JS) Calculates custom values used to sort this column. Mirrors the client-side calculateSortValue object.
CalculateSortValue(String) Calculates custom values used to sort this column. Mirrors the client-side calculateSortValue object.
Caption(JS) Specifies a caption for the column. Mirrors the client-side caption object.
Caption(String) Specifies a caption for the column. Mirrors the client-side caption object.
CellTemplate(JS) Specifies a custom template for data cells. Mirrors the client-side cellTemplate object.
CellTemplate(RazorBlock) Specifies a custom template for data cells. Mirrors the client-side cellTemplate object.
CellTemplate(TemplateName) Specifies a custom template for data cells. Mirrors the client-side cellTemplate object.
CellTemplate(String) Specifies a custom template for data cells. Mirrors the client-side cellTemplate object.
CssClass(JS) Specifies a CSS class to be applied to the column. Mirrors the client-side cssClass object.
CssClass(String) Specifies a CSS class to be applied to the column. Mirrors the client-side cssClass object.
CustomizeText(RazorBlock) Customizes the text displayed in column cells. Mirrors the client-side customizeText object.
CustomizeText(String) Customizes the text displayed in column cells. Mirrors the client-side customizeText object.
DataField(JS) Binds the column to a field of the dataSource. Mirrors the client-side dataField object.
DataField(String) Binds the column to a field of the dataSource. Mirrors the client-side dataField object.
DataType(GridColumnDataType) Casts column values to a specific data type. Mirrors the client-side dataType object.
EncodeHtml(JS) Mirrors the client-side encodeHtml option that specifies whether to display HTML tags as plain text or apply them to column values.
EncodeHtml(Boolean) Mirrors the client-side encodeHtml option that specifies whether to display HTML tags as plain text or apply them to column values.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FalseText(JS) In a boolean column, replaces all false items with a specified text. Applies only if showEditorAlways property is false. Mirrors the client-side falseText object.
FalseText(String) In a boolean column, replaces all false items with a specified text. Applies only if showEditorAlways property is false. Mirrors the client-side falseText object.
FilterOperations(JS) Specifies available filter operations. Applies if allowFiltering is true and the filterRow is visible. Mirrors the client-side filterOperations object.
FilterOperations(IEnumerable<GridFilterOperations>) Specifies available filter operations. Applies if allowFiltering is true and the filterRow is visible. Mirrors the client-side filterOperations object.
FilterOperations(IEnumerable<String>) Specifies available filter operations. Applies if allowFiltering is true and the filterRow is visible. Mirrors the client-side filterOperations object.
FilterType(FilterType) Mirrors the client-side filterType object.
FilterValue(Object) Specifies the column's filter value displayed in the filter row. Mirrors the client-side filterValue object.
FilterValues(JS) Sets the values in the header filter. Mirrors the client-side filterValues object.
FilterValues(IEnumerable) Sets the values in the header filter. Mirrors the client-side filterValues object.
Format(Format) Formats a value before it is displayed in a column cell. Mirrors the client-side format object.
Format(JS) Formats a value before it is displayed in a column cell. Mirrors the client-side format object.
Format(Action<FormatBuilder>) Formats a value before it is displayed in a column cell. Mirrors the client-side format object.
Format(String) Formats a value before it is displayed in a column cell. Mirrors the client-side format object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
HeaderCellTemplate(JS) Specifies a custom template for column headers. Mirrors the client-side headerCellTemplate object.
HeaderCellTemplate(RazorBlock) Specifies a custom template for column headers. Mirrors the client-side headerCellTemplate object.
HeaderCellTemplate(TemplateName) Specifies a custom template for column headers. Mirrors the client-side headerCellTemplate object.
HeaderCellTemplate(String) Specifies a custom template for column headers. Mirrors the client-side headerCellTemplate object.
HeaderFilter(Action<GanttColumnHeaderFilterBuilder>) Specifies data settings for the header filter. Mirrors the client-side headerFilter object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MinWidth(JS) Specifies the minimum width of the column. Mirrors the client-side minWidth object.
MinWidth(Double) Specifies the minimum width of the column. Mirrors the client-side minWidth object.
Option(String, Object) Specifies an option by its name.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SelectedFilterOperation(FilterOperations) Specifies a filter operation that applies when users use the filter row to filter the column. Mirrors the client-side selectedFilterOperation object.
SortIndex(JS) Specifies the index according to which columns participate in sorting. Mirrors the client-side sortIndex object.
SortIndex(Int32) Specifies the index according to which columns participate in sorting. Mirrors the client-side sortIndex object.
SortingMethod(RazorBlock) Specifies a custom comparison function for sorting. Applies only when sorting is performed on the client. Mirrors the client-side sortingMethod object.
SortingMethod(String) Specifies a custom comparison function for sorting. Applies only when sorting is performed on the client. Mirrors the client-side sortingMethod object.
SortOrder(SortOrder) Specifies the sort order of column values. Mirrors the client-side sortOrder object.
ToString() Returns a string that represents the current object. Inherited from Object.
TrueText(JS) In a boolean column, replaces all true items with a specified text. Applies only if showEditorAlways property is false. Mirrors the client-side trueText object.
TrueText(String) In a boolean column, replaces all true items with a specified text. Applies only if showEditorAlways property is false. Mirrors the client-side trueText object.
Visible(JS)
Visible(Boolean)
VisibleIndex(JS) Specifies the position of the column regarding other columns in the resulting UI component. Mirrors the client-side visibleIndex object.
VisibleIndex(Int32) Specifies the position of the column regarding other columns in the resulting UI component. Mirrors the client-side visibleIndex object.
Width(JS) Specifies the column's width in pixels or as a percentage. Ignored if it is less than minWidth. Mirrors the client-side width object.
Width(Double) Specifies the column's width in pixels or as a percentage. Ignored if it is less than minWidth. Mirrors the client-side width object.
Width(String) Specifies the column's width in pixels or as a percentage. Ignored if it is less than minWidth. Mirrors the client-side width object.
See Also