0
$this->addColumn(
                'main_table.attribute_id',
                [
                    'header_css_class' => 'a-center',
                    'type' => 'checkbox',
                    'field_name' => 'attribute_id[]',
                    'values' => $this->getSelectedAttribute(),
                    'align' => 'center',
                    'sortable' => true,
                    'index' =>'attribute_id',
                    'filter_index' => 'main_table.attribute_id'
                ]
            );
        }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.