Skip to content

Commit 6384385

Browse files
committed
Fix for bug 246624: Date format is lost after the second time cell is updated on a row
Applying schema transform when applicable to updated record.
1 parent 82f654f commit 6384385

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/iggrid/iggridbase.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ export class IgGridBase<Model> extends IgControlBase<Model> implements AfterCont
114114
element.data("igGridUpdating").endEdit();
115115
}
116116
jQuery(td).html(newFormattedVal);
117+
if (grid.options.localSchemaTransform) {
118+
record = grid.dataSource.schema().transform([record])[0];
119+
}
117120
grid.dataSource.updateRow(record[pkKey], record);
118121
grid.dataSource._commitTransactionsByRowId(record[pkKey]);
119122
}

0 commit comments

Comments
 (0)