fix(grid row): fix update_docfield_property function not updating grid row

This commit is contained in:
AHasanin 2023-03-27 16:48:09 +02:00
parent 32dbbb47bf
commit ed5ce1241f

View file

@ -1188,6 +1188,10 @@ export default class Grid {
// update the parent too (for new rows)
this.docfields.find((d) => d.fieldname === fieldname)[property] = value;
if ( this.user_defined_columns && this.user_defined_columns.length > 0 ){
this.user_defined_columns.find((d) => d.fieldname === fieldname)[property] = value;
}
this.debounced_refresh();
}
}