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.
Unfortunately, activation email could not send to your email. Please try again.


Thread ID:





34617 Sep 13,2005 02:28 PM Sep 14,2005 07:56 AM Windows Forms 2
Tags: GridControl
Vladimir Churukin
Asked On September 13, 2005 02:28 PM

1. Is there event in GridDataBoundGrid that fires on binding row from datasource? I need to change style for some cells depending on another cells style during databinding. 2. Can I change style for cells after databinding? This code don''t work: gridControl.DataSource = datasource; for (int i=0; i< gridControl.Binder.RecordCount; i++) { gridControl[i, 1].ImageList = gridImageList; gridControl[i, 1].ImageIndex = 1; // after this line gridControl[i,1] still not initialized }

Vladimir Churukin
Replied On September 14, 2005 07:09 AM


Administrator [Syncfusion]
Replied On September 14, 2005 07:56 AM

Hi VladiCh, The style properties of the GridDataBoundGrid has to be handled in PrepareViewStyleInfo or QueryCellInfo handlers Refer this KB : How do I change the Backcolor of a single cell in a GridDataBoundGrid and http://www.syncfusion.com/support/kb/grid/Default.aspx Regards, Stanley


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.

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.