Skip to content

v4.21.0

Compare
Choose a tag to compare
@jajugoguma jajugoguma released this 24 Mar 07:52
· 87 commits to master since this release

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.
  • 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 to true 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.