The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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.
ADAdministrator 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