Skip to content

0.16.0

Compare
Choose a tag to compare
@jansiegel jansiegel released this 10 Jul 08:07
· 4325 commits to develop since this release

Major changes:

  • New autoRowSize plugin (along with the optimisation and refactoring of the autoColumnSize plugin) (#493).

The updated rendering algorithm can automatically calculate the needed rendering offset (viewportRenderingOffset is now set to auto by default).

Note, that the autoRowSize option is false by default. To prevent any row-size related glitches, you need to manually set it to either true or an config object:

autoRowSize: true
autoRowSize: {
    syncLimit: 500   // absolute row number value
}

where syncLimit is a number of synchronously calculated row heights (a browser-blocking operation) provided in either row number or a percentage. The rest of the row heights will be calculated asynchronously in the background.

You can also specify the syncLimit parameter for the autoColumnSize plugin analogously:

autoColumnSize: {
    syncLimit: 40%   // relative row number value
}

The synchronous/asynchronous caching algorithm was implemented to provide a better rendering performance (as the width/height calculations are quite slow).

Changes:

  • Allowed providing additional configuration for the datepicker (#2606)
  • Add an option to make the autocomplete dropdown not fit the cell's width. Autocomplete's trimDropdown option makes the dropdown scale it's width according to it's contents, when set to false. (#2599)