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.
Unfortunately, activation email could not send to your email. Please try again.

Hiding first column in GDBG Tree Lines

Thread ID:

Created:

Updated:

Platform:

Replies:

73057 Apr 17,2008 02:08 PM May 2,2008 03:39 PM Windows Forms 3
loading
Tags: GridControl
Raul
Asked On April 17, 2008 02:08 PM

Hi,

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.

Thanks,
Raul D'souza




Raul
Replied On April 17, 2008 02:14 PM

this time with the attachment.



SyncGrid.zip

Raul
Replied On April 21, 2008 01:43 AM

Could I rec. a reply to this question Please.


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

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" });
this.dgrd.Refresh();


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

http://websamples.syncfusion.com/samples/Grid.Windows/I73057/main.htm

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

Regards,
Vinoth


CONFIRMATION

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.

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.

;