This is a migrated thread and some comments may be shown as answers.

Possible to hide/show columns in the grid view?

1 Answer 319 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
GPJ
Top achievements
Rank 1
GPJ asked on 04 Apr 2016, 12:41 PM

Is it possible to have columns in the grid view of the Gantt control that are hidden? I have tried setting column widths to 0 which the control seems to ignore ... I see no API call to do it, so does that mean if I want to do that I have to go in and hide the column myself during the onDataBinding or onDataBound events?

The reason I ask is that I want two types of columns:

1) The first is a column in the first index position with unbound checkboxes so I can "select" multiple tasks at once.

2) The second is a set of columns that only become visible if the user presses a button elsewhere on the page.

 

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 06 Apr 2016, 06:19 AM
Hello,

You are correct that currently there is no build-in API to toggle columns visibility in the gantt widget. Here is a dojo snippet showing how to implement this functionality with custom code.


Regards,
Dimitar Terziev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Gantt
Asked by
GPJ
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or