You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# How to change row background based on RowState when underlying source is DataTable in wpf datagrid?
2
-
This example illustrates how to change row background based on RowState when underlying source is DataTable in wpf datagrid
1
+
# How to change row background based on RowState when underlying source is DataTable in WPF DataGrid (SfDataGrid)?
2
+
3
+
This example illustrates how to change row background based on RowState when underlying source is DataTable in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
4
+
5
+
You can change the row background based on [RowState.Modified](https://docs.microsoft.com/es-es/dotnet/api/system.data.datarowstate?view=netframework-4.7.2#fields) when binding [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid) to [DataTable](https://docs.microsoft.com/en-us/dotnet/api/system.data.datatable?view=netframework-4.7.2) using style for initial loading. You can also change the background for runtime changes using the [DataTable.RowChanged](https://docs.microsoft.com/ru-ru/dotnet/api/system.data.datatable.rowchanged?view=netframework-4.7.2) event.
0 commit comments