fix: empty grid_rows on delete all rows

This commit is contained in:
prssanna 2019-11-15 16:34:41 +05:30
parent 1cb2d36be0
commit 8bdaaa3775

View file

@ -192,6 +192,7 @@ export default class Grid {
delete_all_rows() {
this.frm.doc[this.df.fieldname] = [];
this.grid_rows = [];
this.refresh();
}