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

Hiding first column in GDBG Tree Lines

Thread ID:





73057 Apr 17,2008 06:08 PM UTC May 2,2008 07:39 PM UTC WinForms 3
Tags: GridControl
Asked On April 17, 2008 06:08 PM UTC


I would want to hide the first Column in GDBG Tree Lines grid.
The first column is my ID field, thru. which the hierarchy is built.

grid.model.hideCols["columnname"] = true does not work.

Please find my code appended.

Raul D'souza

Replied On April 17, 2008 06:14 PM UTC

this time with the attachment.


Replied On April 21, 2008 05:43 AM UTC

Could I rec. a reply to this question Please.

Vinoth Kumar K [Syncfusion]
Replied On May 2, 2008 07:39 PM UTC

Hi Raul,

I apologies for the delay in responding to you.

Issue : Hide the first column in GDBG TreeLines Grid

You can achieve this using LayoutColumns() method of the GDBG. The ColumnName specified in the Array String will be displayed in the GDBG. Please refer to the code snippet given below:

this.dgrd.Binder.LayoutColumns(new String[] { "Package_Name", "Check" });

Also have a look at the modified sample from the below link:


Thank you for choosing Syncfusion Essentiial Studio for your development needs.



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