v4.21.0
Features
-
Added feature to reset auto-sizing column widths in
resetColumnWidths
.- To refresh an auto-width column without setting the column width to a specific width, call the
resetColumnWidths
API without arguments.
- To refresh an auto-width column without setting the column width to a specific width, call the
-
Added the feature that is instant applying of built-in editor.
- It works only for built-in select, checkbox(radio), datePicker editor.
- For use this, pass the
instantApply
option totrue
in property of options of editor of column. - If use it, apply new value by clicking a new value in the dropdown layer of built-in editor.
const grid = new tui.Grid({ columns: [ { // ... editor: { type: 'select', options: { listItems: /* ... */, instantApply: true } } }, ] });
- Before use it
- After use it
Bugfixes
- Fixed an error where the dynamic row span did not work properly when scrolling.
- Fixed an issue that occurs an error when finished editing by clicking the other side.