Server Side Data Loading with angular

Server Side Data Loading with angular

JacklachiJacklachi Posts: 1Questions: 1Answers: 0

Case: User will select the required fields and click on "Generate" button. on Button, Click data is queried and it will return 500 records and bind with datatable creating 50 pages each containing 10 records.
The above-mentioned case is achieved successfully.
Now, I want that when the user clicks on the 50th-page number another 500 records should be fetched and paging should proceed as in the earlier case.

could please guide me on how could I achieve the same.

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    It sounds like you would be better using serverSide - that way it will always get the update from the server. The protocol is discussed here. Also see examples here.

    Cheers,

    Colin

This discussion has been closed.