Saturday, 14 September 2013

How do i make paging using jquery ajax for rhomobile app

How do i make paging using jquery ajax for rhomobile app

I have a table where i need to show records in pagination manner.
Let say i have 200 records, i need to show 10 records on each page. I have
used Paginate to get data from Rhom.
MyModel.paginate(:page => 1, :per_page => 10)
So how can i use the ajax call to fetch the next page records without
changing the view.
Help is appreciated.

No comments:

Post a Comment