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

GridListControl visible columns

Thread ID:





51996 Nov 20,2006 04:02 AM UTC Nov 21,2006 05:42 AM UTC WinForms 1
Tags: Grouping
Michael Gutkin
Asked On November 20, 2006 04:02 AM UTC

How do you control visible columns in GridListControl cell of GroupGrid? Also, how do you hide column header of GridListControl in GroupingGrid?

Administrator [Syncfusion]
Replied On November 21, 2006 05:42 AM UTC

Hi MG,

You can access the GridDropDownGridListControlCellRenderer and use the Renderer.ListControlPart.ShowColumnHeader property to customize the column header in a DropDown GridListControl. Andalso you can use the ListControlPart.Grid.Cols.Hidden collection to manage the visible column in a dropdown gridlistcontrol. Here is a code snippet to show this.

GridDropDownGridListControlCellRenderer cr = this.gridGroupingControl1.TableControl.CellRenderers[ "GridListControl"] as GridDropDownGridListControlCellRenderer;
if( cr != null)
cr.ListControlPart.ShowColumnHeader = false;
cr.ListControlPart.Grid.Cols.Hidden[2] = true;

Best Regards,


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