w2grid.refreshRanges

Refreshes ranges defined for the grid.
refreshRanges()
Returns number of milliseconds it took to refresh.

Description

This method will only work if your grid is excel-like grid, set .selectType to 'cell' and make records editable. You should also have .ranges defined for the grid, which can be added with .addRange() and removed with .removeRange methods. This method is used internally and will automatically be called when needed.
If you have grid defined as: You can add a range by: And refresh ranges:

User Comments

comments powered by Disqus