You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, has anyone manage to implement an infinite scroll / lazy loading feature so that the table only loads say 100 records at first then as you scroll down near the bottom of the 100 rows it sends an ajax request for the next 100?
Thanks
Simon
The text was updated successfully, but these errors were encountered:
You could implement this purely in React and Javascript in the meantime. Have an internal store for your data, then when the user scrolls past a certain point trigger your AJAX call for more data, append it to your internal store, then call this.setState(data) which will trigger a render of the table with the new data.
Hi, has anyone manage to implement an infinite scroll / lazy loading feature so that the table only loads say 100 records at first then as you scroll down near the bottom of the 100 rows it sends an ajax request for the next 100?
Thanks
Simon
The text was updated successfully, but these errors were encountered: