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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Changing image at runtime in row header of Datagrid v 4.0.1.58

Thread ID:

Created:

Updated:

Platform:

Replies:

67227 Aug 10,2007 12:13 PM UTC Aug 11,2007 09:22 AM UTC WinForms 1
loading
Tags: GridControl
Abhijeet Kumar
Asked On August 10, 2007 12:13 PM UTC

Hi
I am using DataGrid Control to diaplaye some data. I have to paint image on some of the rows of the Grid at Runtime on Rowheader. Now when user clicks on the Image on rowheader i have to change image at runtime.

To sum up:
I have to paint image on RowHeader of DataGrid rows.
I only have to paint image on some specific row headers based on some condition.
I should be able to handle click event on RowHeader only, the event should not be fired if user clicks on Row data.
On Click i should be able to change the image.

Thanks.
Abhi....

Administrator [Syncfusion]
Replied On August 11, 2007 09:22 AM UTC

Here is a minimal sample that draws an icon in the header cell if the row contains a value greater than 5 in column Col1. It also displays a messagebox when you click the header.

http://www.syncfusion.com/Support/user/uploads/GDBG_RowHeaderClick_7752bc5e.zip


CONFIRMATION

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.

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

;