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.
How do I display an icon in the row header of databoundgrid?
I am faking MS DataGrid style ErrorProvider using PrepareViewStyleInfo to display an error icon and tooltip text when I have have error in my data.
e.Style.ImageList = this.errorImageList;
e.Style.ImageList = this.errorImageList;
e.Style.CellTipText = err;
works for the content cells but for the row header tooltip appears, but error icon is not set.
Thanks,
Gene Gorokhovsky
DataBoundGrid 1.6.1.6
ADAdministrator Syncfusion Team October 3, 2003 05:48 PM UTC
You need to draw it yourself in CellDrawn event. Only Static cells have support for imagelist.
The GridIconPaint class might be usefull for that too.
Stefan