Hi, is there any way to refresh the grid after change count of columns or rows?
Reload page works, but it is not user friendly.
Hello Marián.
At the moment there is no nice API for this. You could try to re-create new InfiniteGrid object programmatically and replace the existing in your layout. No need to reload the entire page.
Be welcome to create feature request if re-creating the component is not enough. https://github.com/capeisti/infinite-grid/issues
Hello, thanks for reply.
The solution by recreating grid is unusable for me. The user needs to continue editing the selected cell. Add new grid of 100+ columns and 100+ rows take some time and UI is flickering if resizing of grid is frequent. Also, there is no API for programmatically scrolling in the grid (maybe getContent(String stuff), but it doesn’t seem to be working)