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

Column header image

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.

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon