public function setCheckbox(): ColumnInterface
    {
        return $this->setKey('checkbox')
            ->setValue('<input type="checkbox" class="js_adminSelectAll">')
            ->setSort(false)
            ->setScreening(true)
            ->setHandler(function ($data) {
                if ($data && $data->id) {
                    return '<input type="checkbox" class="js_adminCheckboxRow" value="' . $data->id . '">';
                }

                return '';
            });
    }
public function setCheckbox(): ColumnInterface
    {
        return $this->setKey('checkbox')
            ->setValue('<input type="checkbox" class="js_adminSelectAll">')
            ->setSort(false)
            ->setScreening(true)
            ->setHandler(function ($data) {
                if ($data && $data->id) {
                    return '<input type="checkbox" class="js_adminCheckboxRow" value="' . $data->id . '">';
                }

                return '';
            });
    }
public function setCheckbox ( ) : ColumnInterface { return $ this -> setKey ( 'checkbox' ) -> setValue ( '<input type="checkbox" class="js_adminSelectAll">' ) -> setSort ( false ) -> setScreening ( true ) -> setHandler ( function ( $ data ) { if ( $ data && $ data -> id ) { return '<input type="checkbox" class="js_adminCheckboxRow" value="' . $ data -> id . '">' ; } return '' ; } ) ; }
template for checkbox

@return $this
template for checkbox