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

Column header image

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 11:47 AM UTC

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.

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

;