fix(grid row): fix update_docfield_property function not updating grid row
This commit is contained in:
parent
32dbbb47bf
commit
ed5ce1241f
1 changed files with 4 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue