Hi Vasanth,
Thank you for using Syncfusion Products.
We have analyzed your query. When changing the value at runtime the StyleSelector is not called and the style is not applied based on the changed value. However you can achieve this requirement by calling the UpdateDataRow method and also by calling the InvalidateMeasureInfo() for visual container in the CurrentCellEndEdit event.
Code Example [C#]:
void datagrid_CurrentCellEndEdit(object sender, CurrentCellEndEditEventArgs args)
{
var rowindex = args.RowColumnIndex.RowIndex;
this.datagrid.UpdateDataRow(rowindex);
}
|
We have also prepared a sample based on this and you can download the sample from the below location,
Sample: http://www.syncfusion.com/downloads/support/directtrac/143149/ze/SfGridDemo-1646472712
Please let us know if you need further assistance.
Thank you,
Jai Ganesh S