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

GridTreeControl: Hide a Column

Thread ID:





102369 Jan 24,2012 02:53 PM UTC Jan 25,2012 07:18 AM UTC WPF 1
Tags: GridControl
anand rengarajan
Asked On January 24, 2012 02:53 PM UTC

How do I control the visibility of individual columns?

Rajasekar [Syncfusion]
Replied On January 25, 2012 07:18 AM UTC

Hi AR,

You can control the visibility of the columns in the GridTreeControl by using the below code snippet,

this.treeGrid.Model.ColumnWidths[3] = 0;
this.treeGrid.Model.ColumnWidths[3] = 80.0;

Sample: http://www.syncfusion.com/downloads/Support/DirectTrac/88696/TreeGridBinding652655451.zip

Please let us know if you have any queries.



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

This page will automatically be redirected to the 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