Skip to content

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

@UnderDogg

Description

@UnderDogg

Laravel version 5.2

Guys, I don't know if this is related to /Chumper/Datatable/pull/375 or /Chumper/Datatable/pull/372
(and /faveosuite/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions