Datatable icon indicating copy to clipboard operation
Datatable copied to clipboard

data table for laravel 5

Open vijaysebastian opened this issue 9 years ago • 11 comments

chumper is not working in laravel 5. please suggest any working datatable in laravel 5

vijaysebastian avatar Mar 02 '15 11:03 vijaysebastian

I'm interested in L5 support out of the box, as well. The solutions I've seen all seem to be a manual process.

I see there has been some work done on this fork -- are there any plans to merge in?

bmartus avatar Mar 02 '15 20:03 bmartus

Thanks.but i got one Exception "No hint path defined for [Chumper]".

vijaysebastian avatar Mar 03 '15 05:03 vijaysebastian

I will still need some time for a l5 plugin, but I also don't have a problem with merging working versions at the moment. The need is there and I can't fulfill it atm

Chumper avatar Mar 03 '15 06:03 Chumper

i will wait for that moment :-)

vijaysebastian avatar Mar 03 '15 06:03 vijaysebastian

some estimate ?

carlituxman avatar Mar 26 '15 19:03 carlituxman

To make it to work with l5 just comment $this->package('chumper/datatable'); on boot method in: vendor\chumper\datatable\src\Chumper\Datatable\DatatableServiceProvider.php

oriceon avatar Mar 27 '15 14:03 oriceon

+1

hillelcoren avatar Mar 29 '15 11:03 hillelcoren

@oriceon while composer update shows error, that no matching package found, remove laravel/framework v5.0.23.

vijaysebastian avatar Mar 30 '15 11:03 vijaysebastian

@vijaysebastian i don`t understand what you mean. You could install "chumper/datatable": "dev-master" in laravel 5 then just comment $this->package('chumper/datatable'); on boot method in: vendor\chumper\datatable\src\Chumper\Datatable\DatatableServiceProvider.php and voilla. Will work!

As you see in composer.json, dev-master support Laravel 5.0,

        "php": ">=5.3.0",
        "illuminate/support": "4.*|~5.0",
        "illuminate/view": "4.*|~5.0",
        "illuminate/config": "4.*|~5.0"

Sure, when package will be updated you should comment it again. Or just fwork and load it in composer.json from your repository untill @chumper will relase L5 support

oriceon avatar Mar 30 '15 14:03 oriceon

Every day i looking this issue for is there any changes :(

shibby avatar May 09 '15 18:05 shibby

@oriceon thanks but one more issue that,

return Datatable::collection(Article::All()) ->searchColumns('name') ->orderColumns('name', 'description') ->addColumn('name', function ($model) { return $model->name; })

it will return all values and take more load; anyone can suggest me a proper solution for this problem. this is my js file...

var oTable=null; $(document).ready(function() { oTable = $('#allBlogs').dataTable({ "ajax": 'get-articles', "lengthMenu": [[5, 10, 15, -1], [5, 10, 15, "All"]] });

});

we can use laravel pagination function but does not provide datatable features like search and sorting

vijaysebastian avatar Jun 09 '15 11:06 vijaysebastian