Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undefined method OpenSkill\Datatable\Datatable::table() #43

Open
UnderDogg opened this issue Jun 17, 2017 · 0 comments
Open

Call to undefined method OpenSkill\Datatable\Datatable::table() #43

UnderDogg opened this issue Jun 17, 2017 · 0 comments

Comments

@UnderDogg
Copy link

UnderDogg commented Jun 17, 2017

Laravel version 5.2

Guys, I don't know if this is related to /Chumper/Datatable/pull/375 or /Chumper/Datatable/pull/372
(and /ladybirdweb/faveo-helpdesk/issues/85)
but I'm having troubles with the table() function with openskill datatables.
This code in my view:


{!! Datatable::table()   
      ->addColumn($columns)
      ->setUrl(url('api/products/'))      
      ->setOptions('sPaginationType', 'bootstrap')
      ->setOptions('bFilter', false)      
      ->setOptions('bAutoWidth', false)      
      //->setOptions('aoColumns', [[ "sWidth"=> "15%" ], [ "sWidth"=> "35%" ]])
      ->setOptions('aoColumnDefs', [['bSortable'=>false, 'aTargets'=>[3]]])
      ->render('datatable') !!}

(and that's straight from invoiceninja application)
gives the error in the title.
"chumper/datatable": "dev-develop#04ef2bf" is working properly, so probably not merged yet into openskill datatables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant