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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

row header''s icon on griddataboundgrid

Thread ID:





32052 Jul 20,2005 11:58 PM UTC Jul 21,2005 12:28 AM UTC WinForms 1
Tags: GridControl
Asked On July 20, 2005 11:58 PM UTC

Hi there, How do I change the row header''s icon displayed on the griddataboundgrid ? thx, adit

Administrator [Syncfusion]
Replied On July 21, 2005 12:28 AM UTC

Here is one way you can do this. http://www.syncfusion.com/support/user/uploads/7954.zip. It changes the row header cell style to "Header" to avoid seeing the default pencil and triangle, and then uses PrepareViewStyleInfo to show an icon using style.ImageList to provide a BackgroundImage for the header cells. The sample gets the image index from a column in the datatable being displayed. Another way you can do this is to handle the CellDrawn event and draw the bitmap over the cell at that point when e.ColIndex == 0 and e.RowIndex > 0.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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