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.

Gridlistcontrol with no column headers ..

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 12:25 AM

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 08:54 AM

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.

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.

;