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

GridGroupingControl and Row Paint Event

Thread ID:

Created:

Updated:

Platform:

Replies:

32032 Jul 20,2005 11:49 AM UTC Jul 20,2005 12:42 PM UTC WinForms 2
loading
Tags: GridControl
Franz Gsell
Asked On July 20, 2005 11:49 AM UTC

Hi together, I am using a gridgroupingcontrol with a dataset object as datasource. So for a special column (let''s say the first column) I want to draw a different image (with text) in each row (so for the described situation always in the first cell of each row) with the ImageIndex option. So what event can i use to solve this problem. I have seen the CurrentRecordContextChange event but this event is too late - the rows are already filled with data, and the grid is displayed. I want to set the ImageIndex option separately for each cell in the choosen column before drawing the grid. It''s difficult to describe what I want - hope you understand me :-) Kind regards Franz

Administrator [Syncfusion]
Replied On July 20, 2005 12:11 PM UTC

You should try using the QueryCellStyleInfo event. There you can set e.Style.ImageIndex, making sure you are in the column you want to be by checking the information you can find in the e.TableCellIdentity object.

Franz Gsell
Replied On July 20, 2005 12:42 PM UTC

Wow - you are so fast :-))) That''s the point i was searching for - Thank you very much !!

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

;