src/Entity/XiboDataSet.php
public function editColumn($heading, $listContent, $columnOrder, $dataTypeId, $dataSetColumnTypeId, $formula, $remoteField = '', $showFilter = 0, $showSort = 0)
    {
        $this->userId = $this->getEntityProvider()->getMe()->getId();
        $this->heading = $heading;
        $this->listContent = $listContent;
        $this->columnOrder = $columnOrder;
        $this->dataTypeId = $dataTypeId;
        $this->dataSetColumnTypeId = $dataSetColumnTypeId;
        $this->formula = $formula;
        $this->remoteField = $remoteField;
        $this->showFilter = $showFilter;
        $this->showSort = $showSort;

        $this->getLogger()->info('Editing column ID ' . $this->dataSetColumnId . ' From dataSet ID ' . $this->dataSetId);
        $response = $this->doPut('/dataset/'. $this->dataSetId . '/column/' . $this->dataSetColumnId, $this->toArray());
        
        return $this->hydrate($response);
    }
public function editColumn($heading, $listContent, $columnOrder, $dataTypeId, $dataSetColumnTypeId, $formula, $remoteField = '', $showFilter = 0, $showSort = 0)
    {
        $this->userId = $this->getEntityProvider()->getMe()->getId();
        $this->heading = $heading;
        $this->listContent = $listContent;
        $this->columnOrder = $columnOrder;
        $this->dataTypeId = $dataTypeId;
        $this->dataSetColumnTypeId = $dataSetColumnTypeId;
        $this->formula = $formula;
        $this->remoteField = $remoteField;
        $this->showFilter = $showFilter;
        $this->showSort = $showSort;

        $this->getLogger()->info('Editing column ID ' . $this->dataSetColumnId . ' From dataSet ID ' . $this->dataSetId);
        $response = $this->doPut('/dataset/'. $this->dataSetId . '/column/' . $this->dataSetColumnId, $this->toArray());
        
        return $this->hydrate($response);
    }
public function editColumn ( $ heading , $ listContent , $ columnOrder , $ dataTypeId , $ dataSetColumnTypeId , $ formula , $ remoteField = '' , $ showFilter = 0 , $ showSort = 0 ) { $ this -> userId = $ this -> getEntityProvider ( ) -> getMe ( ) -> getId ( ) ; $ this -> heading = $ heading ; $ this -> listContent = $ listContent ; $ this -> columnOrder = $ columnOrder ; $ this -> dataTypeId = $ dataTypeId ; $ this -> dataSetColumnTypeId = $ dataSetColumnTypeId ; $ this -> formula = $ formula ; $ this -> remoteField = $ remoteField ; $ this -> showFilter = $ showFilter ; $ this -> showSort = $ showSort ; $ this -> getLogger ( ) -> info ( 'Editing column ID ' . $ this -> dataSetColumnId . ' From dataSet ID ' . $ this -> dataSetId ) ; $ response = $ this -> doPut ( '/dataset/' . $ this -> dataSetId . '/column/' . $ this -> dataSetColumnId , $ this -> toArray ( ) ) ; return $ this -> hydrate ( $ response ) ; }
Edit Column.

@param string $heading The heading for the column
@param string $listContent A comma separated list of content for dropdowns
@param int $columnOrder Display order for this column
@param int $dataTypeId The data type ID for this column 1 - String, 2 - Number, 3 - Date, 4 - External Image, 5 - Internal Image
@param int $dataSetColumnTypeId The column type for this column 1 - Value, 2 - Formula, 3 -  Remote
@param string $formula MySQL SELECT syntax formula for this column if the column type is set to formula
@param string $remoteField Only for dataSetColumnTypeId=3, JSON-String to select Data from the remote DataSet
@param int $showFilter Flag indicating whether this column should present a filter on DataEntry
@param int $showSort Flag indicating whether this column should allow sorting on DataEntry
@return XiboDataSet
@return XiboDataSet
Edit Column .