I'm new to Bootstrap Data Table and I'm trying to implement it in my .NET MVC web application. I have enabled pagination for the Data Table. So when my web page is loaded it will display only the first 10 records(other options are 25,50,All etc.) by default.
I'm intending to do the following :
- Suppose I have a total of 1000 records in my DB.
- So when my page is first loaded it should only fetch first 10 records(or first 25 if 25 records are selected and so on) instead of all 1000 records. This would to improve the performance.
- The next 10 records should only be fetched when the user asks for next data to be displayed.
How can I get this done?
I found out about deferLoading and deferRender options but I'm not sure which one is suitable for my case. Are there any other options?