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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GanttGrid column widths and hiding columns

Thread ID:





131802 Jul 27,2017 06:19 PM UTC Jul 28,2017 12:46 PM UTC WPF 1
Tags: GanttControl
Eric Gurney
Asked On July 27, 2017 06:19 PM UTC

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.


Sridharan Gajendran [Syncfusion]
Replied On 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 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon