Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
21461 | Nov 10,2004 11:01 PM UTC | Nov 12,2004 09:26 AM UTC | WinForms | 3 |
![]() |
Tags: Grouping |
GridConditionalFormatDescriptor cfd = new GridConditionalFormatDescriptor("Big");
cfd.Expression = "[Col2] > 4";
cfd.Appearance.AnyCell.BackColor = Color.LightBlue;
this.gridGroupingControl1.TableDescriptor.ConditionalFormats.Add(cfd);
Here is a forum thread with another sample. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=11621
cfd.Expression = "[ColumnName] LIKE ''Bob''";
You use single quotes to delimit a string for the LIKE operator. (The web interface may double the single quote in teh above line.)
You could also use the MATCH operator.
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.
This page will automatically be redirected to the sign-in page in 10 seconds.