NullRefExcep/yii2-datatables

Problem with Styling

flaviofagundes opened this issue · 2 comments

Hi Guys

Just style type that works is the STYLING_DEFAULT.

When i try use another, the layout shows broken.

Here how i tryed input the configuration at config.php

'assetManager' => [
            'bundles' => [
                 'nullref\datatable\DataTableAsset' => [
                    'styling' => \nullref\datatable\DataTableAsset::STYLING_BOOTSTRAP,
                  ]
            ],
        ], 

@flaviofagundes can You check this bug on native plugin (without yii wrapper)?
BS assets included but don't work. Maybe problem was not yii widget

@flaviofagundes in BS case I try to fix it to add tableOptions in widget call:

    'tableOptions'=>[
        'class'=>'table table-striped table-bordered',
    ],