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.
Syncfusion Feedback

Gridlistcontrol with no column headers ..

Thread ID:

Created:

Updated:

Platform:

Replies:

52035 Nov 21,2006 03:20 AM UTC Nov 21,2006 01:54 PM UTC Windows Forms 2
loading
Tags: GridControl
Adam K.
Asked On November 21, 2006 03:20 AM UTC

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

thks,
ak

Administrator [Syncfusion]
Replied On 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

Administrator [Syncfusion]
Replied On 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

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.

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

;