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

Displaying image in row header of DataBoundGrid

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

1 Reply

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

Loader.
Up arrow icon