ColumnMenuSettings

The settings of the column menu in the Grid component.

@Component({
    selector: 'my-app',
    template: `
      <kendo-grid [data]="data" [filterable]="true" [columnMenu]="{ lock: true, filter: false }">
         <kendo-grid-column field="Field1" [width]="100"></kendo-grid-column>
         <kendo-grid-column field="Field2" [width]="100"></kendo-grid-column>
      </kendo-grid>
    `
})

class AppComponent {
  public data: any[] = [{ Field1: 'Foo', Field2: 'Bar' }];
}

columnChooser? boolean (default: true)

Specifies if the item for column selection will be displayed in the column menu.

filter? boolean (default: true)

Specifies if the columns can be filtered in the column menu.
If filtering is enabled, defaults to true.

lock? boolean (default: false)

Specifies if the columns can be locked and unlocked from the column menu.
This option follows the prerequisites and limitations of the locked columns.

sort? boolean (default: true)

Specifies if the columns can be sorted in the column menu.
If sorting is enabled, defaults to true.