问题
I have created a rails controller that returns JSON data. So, I cannot render the data on the server as usual with rails.
I can create a simple JS that can just take the JSON and create a table. But I which to support pagination. I looked a few such tables from jquery plugins but they do not use Bootstrap css, so it looks pretty nasty in my layout.
Has anyone encountered such a problem?
回答1:
I'd recommend you using Backbone and Backbone.Paginator. Fits your needs perfectly!
来源:https://stackoverflow.com/questions/13040088/does-anyone-know-a-js-lib-for-dynamic-tables-with-pagination