Possible to hide/show columns in the grid view?

2 posts, 0 answers
  1. GPJ
    GPJ avatar
    31 posts
    Member since:
    Oct 2008

    Posted 04 Apr 2016 Link to this post

    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.


  2. Dimitar Terziev
    Dimitar Terziev avatar
    1268 posts

    Posted 06 Apr 2016 Link to this post


    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.

    Dimitar Terziev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top