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

DataBinding

Thread ID:

Created:

Updated:

Platform:

Replies:

34617 Sep 13,2005 06:28 PM UTC Sep 14,2005 11:56 AM UTC WinForms 2
loading
Tags: GridControl
Vladimir Churukin
Asked On September 13, 2005 06:28 PM UTC

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 11:09 AM UTC

?

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

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

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

;