bs_grid icon indicating copy to clipboard operation
bs_grid copied to clipboard

Server Side Filtering

Open krutoileshii opened this issue 11 years ago • 3 comments

Can you suggest the best way to move the filtering an pagination out to the server?

Currently working with a db with over a million records and would like to hit the db for filtering, pagination and sorting.

krutoileshii avatar May 20 '14 21:05 krutoileshii

Concerning filtering you may use useFilters: false So, you can manage filtering in anyway you want. At this time, there is not a similar option for pagination.

pontikis avatar May 21 '14 05:05 pontikis

I'm just learning a but of php and trying to make a wrapper class to your plug-in using Laravel. After looking at the code you have I think I have an idea on how to do it. On May 20, 2014 11:34 PM, "Christos Pontikis" [email protected] wrote:

Concerning filtering you may use useFilters: false So, you can manage filtering in anyway you want. At this time, there is not a similar option for pagination.

Reply to this email directly or view it on GitHubhttps://github.com/pontikis/bs_grid/issues/2#issuecomment-43713887 .

krutoileshii avatar May 21 '14 05:05 krutoileshii

A bit old, but I too am using this in Laravel development! This is a controller that responds to basic fetch and sort functionality: https://gist.github.com/derrekbertrand/23157faf0aa982fd71b6

derrekbertrand avatar Mar 11 '15 17:03 derrekbertrand