We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

GanttGrid column widths and hiding columns

I am trying to set specific column widths on custom columns I am inserting into the GanttGrid in the GanttControl.  The widths do not get respected when the control renders.  Also, I want to dynamically be able to show and hide the columns - how would I go about doing that.

Thanks,
Eric


1 Reply

SG Sridharan Gajendran Syncfusion Team July 28, 2017 12:46 PM UTC

Hi Eric, 

Thanks for contacting Syncfusion Support. 

Query 1: How to customize the Grid Column width? 

We can customize the width of the Grid column using ColumnWidths property in GridTreeModel. 
 
Query 2: How to show and hide the Grid Column? 
 
We can achieve the requirement by adding and removing the columns.  
 
Please find the demo sample from the below link. 
 
Sample: Gantt 
 
Thanks, 
Sridharan 


Loader.
Up arrow icon