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
close icon

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.


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 

Live Chat Icon For mobile
Up arrow icon