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

Adding and removing visable colums in a GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

46055 Jul 5,2006 02:09 AM UTC Jul 5,2006 03:12 PM UTC WinForms 1
loading
Tags: GridControl
Bill Langlais
Asked On July 5, 2006 02:09 AM UTC

I have a GridGroupingControl attached to a dataset with a heirachy of five tables. I have a dialog that allows a user to select which colums they want to have visable at all five levels. How do I walk through the five sets of TableDescriptors so I can add or remove the apropriate VisableColumns? Thanks!

Administrator [Syncfusion]
Replied On July 5, 2006 03:12 PM UTC

Hi Bill, This can be achieved by using the GetTableDescriptor method. The required visible columns can be added or removed by using the corresponding TableDescriptor. The following is the code snippet >>>>>>>>>>>>>>>>>>>>>>>> GridTableDescriptor gd = this.gridGroupingControl1.GetTableDescriptor("MyChildTable"); gd.VisibleColumns.Remove("childID"); >>>>>>>>>>>>>>>>>>>>>>>> Best regards, Madhan

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.

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

;