GanttColumnTagHelper

Example

Razor
<gantt-column>
    <column-header-template></column-header-template>
    <columns></columns>
    <column-template></column-template>
    <filterable />
    <sortable />
</gantt-column>

ChildTags

Attributes

AttributeTypeDescription
draggableBooleanIf set to true a draghandle will be rendered and the user could reorder the rows by dragging the row via the drag handle.
editableBooleanSpecifies whether this column can be edited by the user.
editorStringProvides a way to specify a custom editing UI for the column. To create the editing UI, use the container parameter.
expandableBooleanIf set to true, the column will show the icons that are used for expanding and collapsing child rows. By default, the "title" column of the Gantt is expandable.
fieldStringThe field to which the column is bound. The value of this field is displayed by the column during data binding.The field name should be a valid Javascript identifier and should contain only alphanumeric characters (or "$" or "_"), and may not start with a digit.
formatStringThe format that is applied to the value before it is displayed. Takes the form "{0:format}" where "format" is a standard number format,custom number format, standard date format or a custom date format.
header-attributesIDictionary<String,Object>The HTML attributes of the table header cell (<th>) that is rendered for the column.
header-templateStringThe template which renders the column header content. By default, the value of the title column option is displayed in the column header cell.
header-template-handlerStringThe template which renders the column header content. By default, the value of the title column option is displayed in the column header cell.
header-template-idStringThe template which renders the column header content. By default, the value of the title column option is displayed in the column header cell.
header-template-viewIHtmlContentThe template which renders the column header content. By default, the value of the title column option is displayed in the column header cell.
hiddenBooleanIf set to true, the Gantt will not display the column. By default, all columns are displayed.
html-attributesIDictionary<String,Object>The HTML attributes of the table cell (<td>) that is rendered for the column.
menuBooleanIf set to true, the Gantt will display the column in the column menu. By default, the column menu includes all data-bound columns, that is, the ones with a set field option.
min-screen-widthDoubleThe pixel screen width below which the column will be hidden. The setting takes precedence over the hidden setting and the two cannot not be used at the same time.
templateStringThe template which renders the column content. The Gantt renders table rows (<tr>) which represent the data source items. Each table row consists of table cells (<td>) which represent the GanttList columns. By default, the HTML-encoded value of the field is displayed in the column.
template-handlerStringThe template which renders the column content. The Gantt renders table rows (<tr>) which represent the data source items. Each table row consists of table cells (<td>) which represent the GanttList columns. By default, the HTML-encoded value of the field is displayed in the column.
template-idStringThe template which renders the column content. The Gantt renders table rows (<tr>) which represent the data source items. Each table row consists of table cells (<td>) which represent the GanttList columns. By default, the HTML-encoded value of the field is displayed in the column.
template-viewIHtmlContentThe template which renders the column content. The Gantt renders table rows (<tr>) which represent the data source items. Each table row consists of table cells (<td>) which represent the GanttList columns. By default, the HTML-encoded value of the field is displayed in the column.
titleStringThe text that is displayed in the column header cell. If not set the field is used.
widthStringThe width of the column. Numeric values are treated as pixels.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support