Skip to content

Commit

Permalink
fix(demo): changing page should remove unsaved cell styling
Browse files Browse the repository at this point in the history
- it should also put back the styling when going back to the same page afterward
  • Loading branch information
ghiscoding committed Dec 14, 2020
1 parent ee02f1d commit 17fa349
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ export class Example12 {

removeUnsavedStylingFromCell(_item: any, column: Column, row: number) {
// remove unsaved css class from that cell
this.sgb.slickGrid.removeCellCssStyles(`unsaved_highlight_${[column.field]}${row}`);
this.sgb.slickGrid.removeCellCssStyles(`unsaved_highlight_${[column.id]}${row}`);
}

removeAllUnsavedStylingFromCell() {
Expand Down

0 comments on commit 17fa349

Please sign in to comment.