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.

Column header image

Thread ID:

Created:

Updated:

Platform:

Replies:

7813 Oct 10,2003 06:18 AM Oct 10,2003 07:47 AM Windows Forms 1
loading
Tags: GridControl
Vladimir Arkhipov
Asked On October 10, 2003 06:18 AM

Is it possible to have an image in the Column header? I tried: gridControl.ColStyles[1].ImageList = this.imageList; gridControl.ColStyles[1].ImageIndex = 0; and gridControl.BaseStylesMap["Column Header"].ImageList = this.imageList; gridControl[0, 1].ImageIndex = 0; But it does not work.

Administrator [Syncfusion]
Replied On October 10, 2003 07:47 AM

No, you have to derive a custom header cell type. If you have source code check out the GridSortColumnHeaderCellRenderer.cs or also do the ImageList draw code in GridStaticCellRenderer. Another sample is Grid\Samples\In Depth\CellButtons. Stefan

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.

;