Datatabel auto load...
Datatabel auto load...
sureshgottipati72@gmail.com
Posts: 7Questions: 2Answers: 0
Hi, my requirement is like ...i have datatabel currently we are using paging concept.
we have to remove pagination instead of that auto populating feature needed for grid view..
10 record loaded initially if you scroll down another 10 record and scroll down next 10 records ...like wise
please help me..
This discussion has been closed.
Answers
Sounds like you want to use server side processing:
https://datatables.net/manual/server-side
https://datatables.net/examples/server_side/index.html
Kevin
not giving clear answer..
example :
https://www.aspsnippets.com/Articles/Load-on-demand-data-in-GridView-on-scroll-using-ASPNet-and-jQuery-AJAX.aspx
https://www.aspsnippets.com/demos/382/
like this expecting in datatabel..
Maybe you are looking for the scroller extension to use with server side processing?
https://datatables.net/extensions/scroller/
Kevin
Not asking clear question.
Also, please do not make duplicate posts.
Load on demand data in GridView on scroll using datatabel..
no need of paging concept. scroll down incremental 10 records need to add the datatabel
please help me..
clear examples..
https://www.aspsnippets.com/demos/382/ see the demo here
Is this what you are looking for?
https://datatables.net/extensions/scroller/examples/initialisation/server-side_processing.html
Kevin
DataTables does not have an infinite loading feature at this time. There are options though:
scroll
event to determine when to get more records and then userows.add()
to add them to the table.The later option can give something very similar to a Twitter or Facebook timeline.
Allan