|110629||Aug 18,2013 10:29 PM UTC||Sep 2,2013 01:49 PM UTC||WPF||1|
I'm using the GridDataControl and would normally look to using conditional formatting to style the row but I'm styling the row based on a pattern of data in that row and not a value. eg. Title field has the word Mr. in it so style this row.
I'm using a DataTrigger on the GridDataRowControl and applying it to the Grid's RowStyle but the trigger doesn't seem to fire.
Could you provide an example RowStyle using a DataTrigger to change a property on that row?
We have analyzed your query, If you want to set Particular Row Background using some conditions you can use the concept of ConditionalFormat. You can refer the below code snippet.
<syncfusion:GridDataConditionalFormat Name="condition" >
<syncfusion:GridDataCondition ColumnName="CustomerID" PredicateType="And" ConditionType="Equals" Value="6"/>
We have attached the sample based on your requirement. Please find the sample.
Please let us know if you have any queries,
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.