scorch
Guardian
- Joined
- May 30, 2011
- Posts
- 204
- Location
- From Sweden, living in Shanghai, China
- Avatar Name
- Elder Scorch Jiub
Switched to using DataTables instead. Pagination is done by default of 100 results. Everything is on the client side and in javascript though, so switching between pages is instantaneous.
Also dropped the previous column sorting code, resulting in lightning fast sorting (sorting is done on all pages, not just the page currently showing).
Results can further be filtered using DataTables "search" input box, filtering the results in real time. Multiple columns can be searched for at the same time. Example, try entering "laser pistol (L)" and only limited laser pistols will be shown (without a page reload).
Rendering time of the page is reduces quite a bit also, so it should be easier to handle larger result sets now.
Also dropped the previous column sorting code, resulting in lightning fast sorting (sorting is done on all pages, not just the page currently showing).
Results can further be filtered using DataTables "search" input box, filtering the results in real time. Multiple columns can be searched for at the same time. Example, try entering "laser pistol (L)" and only limited laser pistols will be shown (without a page reload).
Rendering time of the page is reduces quite a bit also, so it should be easier to handle larger result sets now.