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.

Making cells not visible

Thread ID:

Created:

Updated:

Platform:

Replies:

97872 Jan 17,2011 07:06 AM Jan 17,2011 11:00 PM Windows Forms 1
loading
Tags: GridControl
Ivan Moreira
Asked On January 17, 2011 07:06 AM

Hi, how do I make a cell invisible in Grid Grouping? The cell is the one that does the relations bindings, but its an ID cell, so it shouldnt appear to the user.

Thanks,
Ivan


Nirmal Raja [Syncfusion]
Replied On January 17, 2011 11:00 PM

Hi Ivan,

Thank you for your interest in Syncfusion products.

You can make use of theVisibleColumns collection, which will hold the object of all the column that has been visible in the table. You can remove the ID column from the VisibleColumns collection which removes the column and make it as invisible.

Please refer the code below:
this.gridGroupingControl1.TableDescriptor.VisibleColumns.Remove("ID");

Let me know if you have any concern.

Regards,
Nirmal


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.

;