laravel4-datatables-package
laravel4-datatables-package copied to clipboard
Server-side handler of DataTables Jquery Plugin for Laravel 4
In `ordering()`, you could never do ``` $columns = $this->cleanColumns($this->aliased_ordered_columns); ``` Because you can cause a ordered column (like `id`) to conflict with joined tables. So if we are using...
If you do something like: ``` Datatables::of($this->repo->getList()->select($this->repo->getListColumns()))->make(true); ``` The ordering is off (indexed by the server side columns rather than client side columns) Here's the fix I applied to get...
Tried using the alpha release. Works, but when you change the page it still displays the same data as the first page. --- **update** Well this is weird, on my...
Hi, i have the below code in my controller : ``` $users = User::select(['id' , 'username', 'first_name', 'last_name', 'email']); return Datatables::of($users)->make(true); ``` it's works fine for 5 records :) but...
So Displaying all row from the dropdown does not work My javascript code has this : "lengthMenu": [ [10, 25, 50, 75, 100, -1], [10, 25, 50, 75, 100, "All"]...
Hi I'm having problems with the package. I've updated to the latest version today. My query only pulls off the first 10 rows of data. My datatable has bServerside set...
Given the following query and parameter bindings: ``` select `users`.`id`, `users`.`email`, `users`.`active`, (select count(*) from `phones` where `phones`.`active` = ? and `phones`.`user_id` = `users`.`id`) as phones from `users` where `users`.`active`...
The current master branch uses the /Illuminate/Support/Arr class, which did not become available until L4.2, but the composer.json file requires >=4.0.0. The composer file should be updated to reflect the...
I am using bllim\laravel4-datatables-package using the tutorial in the below link, http://barnaszalai.eu/article/tips-and-tricks-using-datatables-with-laravel%23disqus_thread I am able to get JSON output by accessing the URL directly. When I access the View, It...
The package may have a bug when it constructs SQL that uses group by. I have two models: Channel and Program, and a Channel could have many Programs. Use case:...