File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Providers/DataGrid/Wijmo/Features Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,18 +33,18 @@ namespace Providers.DataGrid.Wijmo.Feature {
3333 private _isDirtyCell ( row : number , col : number ) : boolean {
3434 const grid = this . _grid . provider ;
3535 if ( this . hasMetadata ( row ) ) {
36+ const binding = this . _grid . provider . columns [ col ] . binding ;
37+ const targetColumn = this . _grid . getColumn ( binding ) ;
3638 let isActionColumn = false ;
3739
3840 //If the grid is autogenerated, not need to check for action columns.
3941 if ( this . _grid . autoGenerate === false ) {
40- const targetColumn = this . _grid . getColumnByIndex ( col ) ;
4142 isActionColumn =
4243 targetColumn && targetColumn . columnType === OSFramework . DataGrid . Enum . ColumnType . Action ;
4344 }
4445 //only if it is a column type different from ColumnType.Action, is that
4546 //we want to check the dirty mark.
4647 if ( isActionColumn === false ) {
47- const binding = grid . getColumn ( col ) . binding ;
4848 const cellValue = grid . getCellData ( row , col , false ) ;
4949 const metadata = this . getMetadata ( row ) ;
5050 //If the cell isNew we want to have the dirty mark
You can’t perform that action at this time.
0 commit comments