ColumnChooser

Example of Column Chooser in ASP.NET Core Tree Grid Control

Tree Grid
Columns
Column Chooser

This sample demonstrates the Tree Grid column chooser feature. Click or tap the column chooser icon in the toolbar to open column chooser and you can select columns to hide/show from the checkbox list.

1
Planning
3/2/20177/2/20175100Normal
2
Plan timeline
3/2/20177/2/20175100Normal
3
Plan budget
3/2/20177/2/20175100Low
4
Allocate resources
3/2/20177/2/20175100Critical
5
Planning complete
7/2/20177/2/201711Low
6
Design
10/2/20172/14/2017386High
7
Software Specification
10/2/20172/12/2017360Normal
8
Develop prototype
10/2/20172/12/20173100Critical
9
Get approval from customer
2/13/20172/14/20172100Low
10
Design complete
2/14/20172/14/201711Normal
11
Implementation Phase
2/17/20172/17/20171166Normal
12
Phase 1
2/17/20172/27/20171150High
13
Implementation Module 1
2/17/20172/27/20171110Normal
14
Development Task 1
2/17/20172/19/2017350High
15
Development Task 2
2/17/20172/19/2017350Low
16
Testing
2/20/20172/21/201721Normal
17
Bug fix
2/24/20172/25/201721Critical
18
Customer review meeting
2/26/20172/27/201721High
19
Phase 1 complete
2/27/20172/27/2017250Low
20
Phase 2
2/17/20172/28/20171260High
21
Implementation Module 2
2/17/20172/28/20171290Critical
22
Development Task 1
2/17/20172/20/2017450Normal
23
Development Task 2
2/17/20172/20/2017450Critical
24
Testing
2/21/20172/24/201721High
25
Bug fix
2/25/20172/26/201721Low
26
Customer review meeting
2/27/20172/28/201721Critical
27
Phase 2 complete
2/28/20172/28/2017250Normal
28
Phase 3
2/17/20172/27/20171130Normal
29
Implementation Module 3
2/17/20172/27/20171160High
30
Development Task 1
2/17/20172/19/2017350Low
31
Development Task 2
2/17/20172/19/2017350Normal
32
Testing
2/20/20172/21/201721Critical
33
Bug fix
2/24/20172/25/201721High
34
Customer review meeting
2/26/20172/27/201721Normal
35
Phase 3 complete
2/27/20172/27/2017250Critical

The Tree Grid columns can be shown/hidden dynamically by using column chooser. To enable column chooser behavior, set showColumnChooser property as true. You can also prevent the display of a column in column chooser by setting columns->showInColumnChooser as false in columns definition.


In this demo, when the user clicks or taps column chooser icon from the toolbar then the column chooser menu will open. User can show or hide the columns by changing the state of the checkbox.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab