Hi
Context:
- A SfDataGrid component uses loadMoreViewBuilder to do lazy load.
- However if the screen has a big height, the first load do not fill the screen.
How to implement a logic that would does if the screen is not full continue tu lazy load ?
I tried some scroll bar detection with the following code to detect if the screen is filled o
maxScrolled = _scrollController.position.pixels == _scrollController.position.maxScrollExtent
But in the loadMoreViewBuilder logic when the data source is filled with new data, the UI, and so the scroll status is not yet modified.
Would you please advice on how to achieve it ?