Table
Create a table
Usage
Props
Functions (callable on the component from parent)
Internal implementation
If no data in table, set loading to true, call onRequestNextPage without offset token.
If next page button is clicked, get last row token, set Table to loading, and requestNextPage.
When recieve result in requestNextPage, set loading to false and update data.
Table must memorize already loaded pages to be faster
Table must detect when request a page and no result is returned in this case disable corresponding button.
Last updated