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

GridConditionalFormatDescriptor is not being apply immediately after change in checkbox cell

Thread ID:





57492 Mar 5,2007 11:22 PM UTC Mar 6,2007 02:53 PM UTC WinForms 2
Tags: Grouping
James Blibo
Asked On March 5, 2007 11:22 PM UTC

I have the fllw conditional format defined...

GridConditionalFormatDescriptor descriptor = new GridConditionalFormatDescriptor();
descriptor.Appearance.AnyRecordFieldCell.BackColor = Color.Lavender;
descriptor.Expression = "[Length5] LIKE 'true' OR [Length10] LIKE 'true' OR [Length15] LIKE 'true'";

[Length5], ect, are checkbox boolean field returned from the database.

I noticed that my conditional format is not apply automatically when I check a checkbox. When I check the checkbox, ONLY the cell the contain the checkbox is colored; the entire row is not color until I move from click in another row.

The intended behavior that I want is to color the entire row as soon as any checkbox in the row is checked.

I have the following to immediately commit the data, but that did not help.

private void gridGroupingControl1_TableControlCheckBoxClick(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCellClickEventArgs e)
GridCurrentCell cc = e.TableControl.CurrentCell;

Administrator [Syncfusion]
Replied On March 6, 2007 12:41 AM UTC

Hi James,

You can try set RefreshCurrentCellBehavior property to GridRefreshCurrentCellBehavior.RefreshRow to refresh the whole row in a grid.

this.gridGroupingControl1.TableModel.Options.RefreshCurrentCellBehavior = GridRefreshCurrentCellBehavior.RefreshRow;

Best regards,

James Blibo
Replied On March 6, 2007 02:53 PM UTC

Sorry, that didn't work.


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