stevenrskelton / sortable-table

Polymer Web Component that generates a sortable <table> from inlined or AJAX JSON, JSON5, and arrays.
https://stevenrskelton.github.io/sortable-table/
MIT License
196 stars 37 forks source link

Server-side pagination support #13

Closed ghost closed 10 years ago

ghost commented 10 years ago

I'd like sortable-table support server-side pagination. I mean something like DataTables Server-side processing. So you get data from server page by page instead every item/row at once. This is very important when you work with big databases. Thank you for sortable-table, it's great.

stevenrskelton commented 10 years ago

I created an implementation compatible with the DataTables.net API: http://files.stevenskelton.ca/sortable-table/examples/ajax.html

Until I get a chance to dog-food this in my own projects there might be obvious omissions - feel free to bring them to my attention.

The actual integration into sortable-table might change; I'm trying to make it plug-able. I've started an implementation using IndexedDB, and might make one using WebSockets when I have time to reconfigure my server.