public function html()
    {
        return $this->setName('Rules List')
                        ->addColumn(['data' => 'id', 'name' => 'id', 'title' => trans('antares/ban_management::datagrid.header.id')])
                        ->addColumn(['data' => 'value', 'name' => 'value', 'title' => trans('antares/ban_management::datagrid.header.value'), 'className' => 'bolded'])
                        ->addColumn(['data' => 'user_id', 'name' => 'user_id', 'title' => trans('antares/ban_management::datagrid.header.author')])
                        ->addColumn(['data' => 'status', 'name' => 'status', 'title' => trans('antares/ban_management::datagrid.header.status')])
                        ->addColumn(['data' => 'internal_reason', 'name' => 'internal_reason', 'title' => trans('antares/ban_management::datagrid.header.note')])
                        ->addColumn(['data' => 'trusted', 'name' => 'trusted', 'title' => trans('antares/ban_management::datagrid.header.trusted')])
                        ->addColumn(['data' => 'enabled', 'name' => 'enabled', 'title' => trans('antares/ban_management::datagrid.header.enabled')])
                        ->addColumn(['data' => 'created_at', 'name' => 'created_at', 'title' => trans('antares/ban_management::datagrid.header.created_at')])
                        ->addColumn(['data' => 'expired_at', 'name' => 'expired_at', 'title' => trans('antares/ban_management::datagrid.header.expired_at')])
                        ->addAction(['name' => 'edit', 'title' => '', 'class' => 'mass-actions dt-actions'])
                        ->setDeferedData()
                        ->addGroupSelect($this->statuses(), 3, 'active', [
                            'data-prefix'            => '',
                            'data-selectAR--mdl-big' => "true",
                            'data-column'            => 3,
                            'class'                  => 'ban_management-select-status mr24 select2--prefix',
        ]);
    }
public function html()
    {
        return $this->setName('Rules List')
                        ->addColumn(['data' => 'id', 'name' => 'id', 'title' => trans('antares/ban_management::datagrid.header.id')])
                        ->addColumn(['data' => 'value', 'name' => 'value', 'title' => trans('antares/ban_management::datagrid.header.value'), 'className' => 'bolded'])
                        ->addColumn(['data' => 'user_id', 'name' => 'user_id', 'title' => trans('antares/ban_management::datagrid.header.author')])
                        ->addColumn(['data' => 'status', 'name' => 'status', 'title' => trans('antares/ban_management::datagrid.header.status')])
                        ->addColumn(['data' => 'internal_reason', 'name' => 'internal_reason', 'title' => trans('antares/ban_management::datagrid.header.note')])
                        ->addColumn(['data' => 'trusted', 'name' => 'trusted', 'title' => trans('antares/ban_management::datagrid.header.trusted')])
                        ->addColumn(['data' => 'enabled', 'name' => 'enabled', 'title' => trans('antares/ban_management::datagrid.header.enabled')])
                        ->addColumn(['data' => 'created_at', 'name' => 'created_at', 'title' => trans('antares/ban_management::datagrid.header.created_at')])
                        ->addColumn(['data' => 'expired_at', 'name' => 'expired_at', 'title' => trans('antares/ban_management::datagrid.header.expired_at')])
                        ->addAction(['name' => 'edit', 'title' => '', 'class' => 'mass-actions dt-actions'])
                        ->setDeferedData()
                        ->addGroupSelect($this->statuses(), 3, 'active', [
                            'data-prefix'            => '',
                            'data-selectAR--mdl-big' => "true",
                            'data-column'            => 3,
                            'class'                  => 'ban_management-select-status mr24 select2--prefix',
        ]);
    }
public function html ( ) { return $ this -> setName ( 'Rules List' ) -> addColumn ( [ 'data' => 'id' , 'name' => 'id' , 'title' => trans ( 'antares/ban_management::datagrid.header.id' ) ] ) -> addColumn ( [ 'data' => 'value' , 'name' => 'value' , 'title' => trans ( 'antares/ban_management::datagrid.header.value' ) , 'className' => 'bolded' ] ) -> addColumn ( [ 'data' => 'user_id' , 'name' => 'user_id' , 'title' => trans ( 'antares/ban_management::datagrid.header.author' ) ] ) -> addColumn ( [ 'data' => 'status' , 'name' => 'status' , 'title' => trans ( 'antares/ban_management::datagrid.header.status' ) ] ) -> addColumn ( [ 'data' => 'internal_reason' , 'name' => 'internal_reason' , 'title' => trans ( 'antares/ban_management::datagrid.header.note' ) ] ) -> addColumn ( [ 'data' => 'trusted' , 'name' => 'trusted' , 'title' => trans ( 'antares/ban_management::datagrid.header.trusted' ) ] ) -> addColumn ( [ 'data' => 'enabled' , 'name' => 'enabled' , 'title' => trans ( 'antares/ban_management::datagrid.header.enabled' ) ] ) -> addColumn ( [ 'data' => 'created_at' , 'name' => 'created_at' , 'title' => trans ( 'antares/ban_management::datagrid.header.created_at' ) ] ) -> addColumn ( [ 'data' => 'expired_at' , 'name' => 'expired_at' , 'title' => trans ( 'antares/ban_management::datagrid.header.expired_at' ) ] ) -> addAction ( [ 'name' => 'edit' , 'title' => '' , 'class' => 'mass-actions dt-actions' ] ) -> setDeferedData ( ) -> addGroupSelect ( $ this -> statuses ( ) , 3 , 'active' , [ 'data-prefix' => '' , 'data-selectAR--mdl-big' => "true" , 'data-column' => 3 , 'class' => 'ban_management-select-status mr24 select2--prefix' , ] ) ; }
Returns the Datatable Builder.

@return \Antares\Datatables\Html\Builder
Returns the Datatable Builder .