Hi Alexandru,
Thank you for contact syncfusion support.
We have analyzed you query “update custom row style when changed a property”. You can able to achieve your requirement by Calling the UpdateDataRow() method as like below.
Code Sample:
private void DataGridField_Loaded(object sender, RoutedEventArgs e) { this.DataGridField.View.RecordPropertyChanged += View_RecordPropertyChanged; } private void View_RecordPropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { //Here update the data row to change the style. var rowindex = this.DataGridField.ResolveToRowIndex(sender); this.DataGridField.UpdateDataRow(rowindex); } |
We have modified the provided sample to achieve your requirement. You can download the sample from the below link
Please let us know if you have any query.
Regards,
Balamurugan R