Skip to content

Commit d293081

Browse files
Merge pull request #3 from 9629976110/patch-1
How to change row background based on RowState when underlying source is DataTable in WPF DataGrid (SfDataGrid)
2 parents d00b15c + d42ff44 commit d293081

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
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).
44

55
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.
6+
7+
KB article - [How to change row background based on RowState when underlying source is DataTable in WPF DataGrid (SfDataGrid)?](https://www.syncfusion.com/kb/9894/how-to-change-row-background-based-on-row-state-when-underlying-source-is-data-table-in-wpf)

0 commit comments

Comments
 (0)