public function setUseLabelsAsHeaders($value)
    {
        if ($value === null) {
            $this->useLabelsAsHeaders = null;
        } else {
            $this->useLabelsAsHeaders = (bool)$value;
        }
        return $this;
    }
public function setUseLabelsAsHeaders($value)
    {
        if ($value === null) {
            $this->useLabelsAsHeaders = null;
        } else {
            $this->useLabelsAsHeaders = (bool)$value;
        }
        return $this;
    }
public function setUseLabelsAsHeaders ( $ value ) { if ( $ value === null ) { $ this -> useLabelsAsHeaders = null ; } else { $ this -> useLabelsAsHeaders = ( bool ) $ value ; } return $ this ; }
Set the DataFormatter's UseFieldLabelsAsHeaders property
@param bool $value
@return GridFieldExcelExportButton
Set the DataFormatter s UseFieldLabelsAsHeaders property