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. Image for the cookie policy date

Gridlistcontrol with no column headers ..

is there a way to have a gridlistcontrol as the result of a dropdown combobox but hide the header row captions.

thks,
ak

2 Replies

AD Administrator Syncfusion Team November 21, 2006 05:25 AM UTC

Hi Adam,

You can access the GridDropDownGridListControlCellRenderer and use the Renderer.ListControlPart.ShowColumnHeader property to customize the column header in a GridListControl. Here is a code snippet.

GridDropDownGridListControlCellRenderer cr = this.gridDataBoundGrid1.CellRenderers["GridListControl"] as GridDropDownGridListControlCellRenderer;
cr.ListControlPart.ShowColumnHeader = false;

Best Regards,
Haneef


AD Administrator Syncfusion Team November 21, 2006 01:54 PM UTC

thks..

>Hi Adam,

You can access the GridDropDownGridListControlCellRenderer and use the Renderer.ListControlPart.ShowColumnHeader property to customize the column header in a GridListControl. Here is a code snippet.

GridDropDownGridListControlCellRenderer cr = this.gridDataBoundGrid1.CellRenderers["GridListControl"] as GridDropDownGridListControlCellRenderer;
cr.ListControlPart.ShowColumnHeader = false;

Best Regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon