Skip to content

quanSadie/RowChangedDataGridTracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

RowChangedDataGridTracking

Row changed tracking for wpf datagrid

This repo aims to track the records in datagrid which were edited by the user. Can use to update by record instead of whole table.

Usage:

 <DataGrid ...>

     <i:Interaction.Behaviors>
         <local:ChangeTrackingBehavior x:Name="RowChangeTracker"/>
     </i:Interaction.Behaviors>
      ...
 </DataGrid>

In code behind / View model:

foreach (var changedItem in RowChangeTracker.GetChangedItems())
{
    ...
}
//RowChangeTracker.ClearChanges();

About

Row changed tracking for wpf datagrid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages