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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

RowDataBound event for Winforms

Thread ID:





69341 Oct 24,2007 04:02 PM UTC Oct 25,2007 11:14 PM UTC WinForms 1
Tags: GridControl
Stephane Dapsanse
Asked On October 24, 2007 04:02 PM UTC


Is there such a thing as a RowDataBound event for Winforms?
What is it and what method call can programmatically fire it?


Rajagopal [Syncfusion]
Replied On October 25, 2007 11:14 PM UTC

Hi Stephane,

You can try the grid.Model.QueryCellInfo event to change the styles for the row and column in grid. You can change the values in grid dynamically using this event. Use the e.RowIndex to point any row and e.ColIndex to point any column in grid.

void Model_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
if (e.RowIndex == 3 && e.ColIndex > 0)
e.Style.BackColor = Color.Red;
e.Style.CellValue = "Some Value";

Let me know if you have any questions.



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

Live Chat Icon For mobile
Live Chat Icon