public function getColumnContent($gridField, $record, $columnName)
    {
        $cb = CheckboxField::create('bulkSelect_' . $record->ID)
            ->addExtraClass('bulkSelect no-change-track')
            ->setAttribute('data-record', $record->ID);

        return $cb->Field();
    }
public function getColumnContent($gridField, $record, $columnName)
    {
        $cb = CheckboxField::create('bulkSelect_' . $record->ID)
            ->addExtraClass('bulkSelect no-change-track')
            ->setAttribute('data-record', $record->ID);

        return $cb->Field();
    }
public function getColumnContent ( $ gridField , $ record , $ columnName ) { $ cb = CheckboxField :: create ( 'bulkSelect_' . $ record -> ID ) -> addExtraClass ( 'bulkSelect no-change-track' ) -> setAttribute ( 'data-record' , $ record -> ID ) ; return $ cb -> Field ( ) ; }
Sets the column's content.

@param GridField  $gridField  Current GridField instance
@param DataObject $record     Record intance for this row
@param string     $columnName Column's name for which we need content

@return mixed Column's field content
Sets the column s content .