public function addGroupSelect($options, $columnIndex = 0, $defaultSelected = null, array $attributes = [])
    {
        $orderAdapter = app(OrderAdapter::class)->setClassname(get_class($this->datatable));
        if (($order        = $orderAdapter->getSelected()) !== false) {
            $this->parameters([
                'order' => [[$order['column'], $order['dir']]],
            ]);
        }
        $groupsFilter = app(GroupsFilterAdapter::class)->setClassname(get_class($this->datatable))->setIndex($columnIndex);
        $data         = ($options instanceof Collection) ? $options->toArray() : $options;
        if ($defaultSelected) {
            $this->selectedGroups[$columnIndex] = $defaultSelected;
        }

        $id    = array_get($this->tableAttributes, 'id') . '-filter-group';
        if (is_null($value = $groupsFilter->getSelected($columnIndex))) {
            $value = $defaultSelected;
        }

        $decorated = $this->html->decorate($attributes, [
            'data-selectar--mdl-big' => "true",
            'class'                  => 'mb24 select2-left select--category select2--prefix',
            'id'                     => $id,
            'data-select2--class'    => 'card-ctrls--select2'
        ]);

        $html = Form::select('category', $data, $value, $decorated);
        $groupsFilter->scripts(array_get($decorated, 'id'), $columnIndex);
        array_push($this->selects, $html);
        return $this;
    }