I believe there is a bug in the collapseAllData. If you expand all rows, scroll down and collapse all, the rows get hidden in the top of the grid and there is no scrollbar to reach them.
How to reproduce:
1- Go to https://jsfiddle.net/flexmonster/eyz8evf6/ (collapseAllData example).
2- Click “Expand all data”. All groups expand and a scrollbar is now visible. If you don’t see a scrollbar you may need more data or a smaller grid.
3- Scroll all the way down. At least “Canada” row will get hidden by the column headers.
4- Click “Collapse all data”. The groups will collapse as expected, but now you cannot see or reach “Canada”.
If it’s really a bug, is there a workaround? Like, can I set the grid focus to the very first row or force the scrollbar to be visible?
Thank you for writing to us and for providing steps to reproduce the issue.
Our team will provide a fix for this in the minor release version with the ETA 12th of August.
As a workaround, you can reset the report right before calling the
collapseAllData() API call. This way the scroll position will be reset.
Here is a JSFiddle example for illustration.
You are welcome to contact us in case of questions.
Thank you Vera for the spot on reply. The workaround works and will keep us going by now 🙂
We are glad to inform you that the issue with using
collapseAllData() API call when the view is scrolled was fixed.
This is provided in the 2.7.12 version of Flexmonster: https://www.flexmonster.com/release-notes/
You are welcome to update the component.
Here is our updating to the latest version guide for assistance: https://www.flexmonster.com/doc/updating-to-the-latest-version/
Please let us know if everything works fine for you.