0.16.0
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).