New to Kendo UI for AngularStart a free 30-day trial

Represents the column group header of the TreeList. (More information and examples).

Definition

Package:@progress/kendo-angular-treelist

Selector:kendo-treelist-column-group

Syntax:

html
<kendo-treelist ...>
  <kendo-treelist-column-group title="File Info">
    <kendo-treelist-column field="type" title="Type"> </kendo-treelist-column>
    <kendo-treelist-column field="size" title="Size"> </kendo-treelist-column>
  </kendo-treelist-column-group>
</kendo-treelist>

Inputs

autoSize

boolean

Indicates whether the column is automatically resized during initialization to fit its header and row content.

class

string | string[] | Set​<string> | { [key: string]: any }

Sets custom CSS classes to the column cells. Uses the NgClass directive. To customize header and footer column cells, use the headerClass and footerClass inputs.

columnMenu

boolean

Specifies if the column menu is shown for the column.

Default:

true

footerClass

string | string[] | Set​<string> | { [key: string]: any }

Sets the custom CSS classes to the column footer cell. Under the hood, to apply the property, the footerClass option uses the NgClass directive. See example.

footerStyle

{ [key: string]: string }

Sets custom styles for the footer cell of the column. Uses the NgStyle directive. See example.

headerClass

string | string[] | Set​<string> | { [key: string]: any }

Sets custom CSS classes to the column header cell. Uses the NgClass directive. See example.

headerStyle

{ [key: string]: string }

Sets custom styles for the header cell of the column. Uses the NgStyle directive. See example.

hidden

boolean

Sets the visibility of the column (see example).

Default:

false

lockable

boolean

Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.

Default:

true

locked

boolean

Toggles the locked (frozen) state of the columns (more information and example).

Default:

false

media

string

Sets the condition that must be satisfied for a column to remain visible (see example). If you set the hidden property, the behavior of media is overridden.

Indicates whether the column is reorderable.

Default:

true

resizable

boolean

Indicates whether the column is resizable.

Default:

true

Sets the distance in pixels by which the column width is adjusted during keyboard navigation resizing. Used when resizing columns with Alt/Option + Left/Right Arrow keyboard shortcuts.

Default:

10

style

{ [key: string]: string }

Sets custom styles for the table cells (excluding the footer and header) of the column. Uses the NgStyle directive. See example.

Sets the role attribute for the table cells (excluding the footer and header) of the column.

Default:

'gridcell'

title

string

Sets the title of the column.

width

number

Sets the width of the column (in pixels).

Fields

The column index after reordering. The orderIndex` is a read-only property. Setting this field does not affect column order.

Default:

0