Short description of method setCellValue

@access public
@author Cédric Alfonsi, <cedric.alfonsi@tudor.lu>
@param  string columnId
@param  string rowId
@param  string content string or Grid
@param  boolean forceCreation
@return boolean
421508
public function setCellValue($columnId, $rowId, $content, $forceCreation = false)
    {
        $returnValue = (bool) false;

        
		//TODO: for creating row and column if not exists?
		if(isset($this->columns[$columnId])){
			if(isset($this->rows[$rowId])){
				$this->rows[$rowId][$columnId] = $content;
				$returnValue = true;
			}
		}
        

        return (bool) $returnValue;
    }
171685
public void setElement (int row, int col, float value) {
        switch (col) {
        case 0:
            switch (row) {
            case 0: m00 = value; return;
            case 1: m01 = value; return;
            case 2: m02 = value; return;
            }
            break;
        case 1:
            switch (row) {
            case 0: m10 = value; return;
            case 1: m11 = value; return;
            case 2: m12 = value; return;
            }
            break;
        case 2:
            switch (row) {
            case 0: m20 = value; return;
            case 1: m21 = value; return;
            case 2: m22 = value; return;
            }
            break;
        }
        throw new ArrayIndexOutOfBoundsException();
    }
1123059
public function build($rowNumber, $cellNumber, $cellValue, $styleId = 0)
    {
        $cellId = $this->getCellId($cellNumber, $rowNumber);

        if (is_int($cellValue) || is_float($cellValue)) {
            return sprintf(CellXml::NUMBER_XML, $cellId, $styleId, $cellValue);
        } elseif (is_bool($cellValue)) {
            return sprintf(CellXml::BOOLEAN_XML, $cellId, $styleId, (int)$cellValue);
        } elseif (0 === strlen($cellValue)) {
            return 0 === $styleId ? '' : sprintf(CellXml::EMPTY_XML, $cellId, $styleId);
        }

        return sprintf(CellXml::STRING_XML, $cellId, $styleId, $this->escape($cellValue));
    }
1117450
function($Cell) {
			var oTable = this.getTable(),
				bEnabled = $Cell.hasClass("sapUiTableSelAllEnabled");
			oTable.$("sapUiTableGridCnt").removeAttr("role");

			var mAttributes = ExtensionHelper.getAriaAttributesFor(
				this, TableAccExtension.ELEMENTTYPES.COLUMNROWHEADER,
				{enabled: bEnabled, checked: bEnabled && !oTable.$().hasClass("sapUiTableSelAll")}
			);
			ExtensionHelper.performCellModifications(this, $Cell, mAttributes["aria-labelledby"], mAttributes["aria-describedby"],
				mAttributes["aria-labelledby"], mAttributes["aria-describedby"], null
			);
		}
287517
def BeginEdit(self, row, col, grid):
        

        # Disable if cell is locked, enable if cell is not locked
        grid = self.main_window.grid
        key = grid.actions.cursor

        locked = grid.code_array.cell_attributes[key]["locked"]or \
            grid.code_array.cell_attributes[key]["button_cell"]
        self._tc.Enable(not locked)
        self._tc.Show(not locked)

        if locked:
            grid.code_array.result_cache.clear()
            self._execute_cell_code(row, col, grid)

        # Mirror our changes onto the main_window's code bar
        self._tc.Bind(wx.EVT_CHAR, self.OnChar)
        self._tc.Bind(wx.EVT_KEY_UP, self.OnKeyUp)

        # Save cell and grid info
        self._row = row
        self._col = [col, ]  # List of columns we are occupying
        self._grid = grid

        start_value = grid.GetTable().GetValue(*key)

        try:
            start_value_list = [start_value[i:i+self.max_char_width]
                                for i in xrange(0, len(start_value),
                                                self.max_char_width)]
            startValue = "\n".join(start_value_list)
            self.startValue = startValue

        except TypeError:
            self.startValue = u""

        # Set up the textcontrol to look like this cell (TODO: Does not work)
        try:
            self._tc.SetValue(unicode(startValue))
        except (TypeError, AttributeError, UnboundLocalError):
            self._tc.SetValue(u"")

        self._tc.SetFont(grid.GetCellFont(row, col))
        self._tc.SetBackgroundColour(grid.GetCellBackgroundColour(row, col))
        self._update_control_length()

        self._tc.SetInsertionPointEnd()

        h_scroll_pos = grid.GetScrollPos(wx.SB_HORIZONTAL)
        v_scroll_pos = grid.GetScrollPos(wx.SB_VERTICAL)

        self._tc.SetFocus()

        # GTK Bugfix for jumping grid when focusing the textctrl
        if grid.GetScrollPos(wx.SB_HORIZONTAL) != h_scroll_pos or \
           grid.GetScrollPos(wx.SB_VERTICAL) != v_scroll_pos:
            wx.ScrolledWindow.Scroll(grid, (h_scroll_pos, v_scroll_pos))

        # Select the text
        self._tc.SetSelection(0, self._tc.GetLastPosition())
117294
public function findCell($row = null, $column = null, $value = null)
    {
        $rowXPath = $row;
        $columnXPath = $column;
        $valueXPath = $value;

        if ($row !== null) {
            $rowXPath = '['.$row.']';
        }

        if ($column !== null) {
            $columnXPath = '['.$column.']';
        }

        if ($value !== null) {
            $valueXPath = '[contains(text(), "'.$value.'")]';
        }

        $xpath = '/tbody/tr'.$rowXPath.'/td'.$columnXPath.$valueXPath;

        if ($value !== null || ($row !== null && $column !== null)) {
            \PHPUnit_Framework_Assert::assertNotNull(
                $cell = $this->findGrid()->find('xpath', $xpath),
                sprintf(
                    'The grid cell could not be found (row: %s, column: %s, value: %s).',
                    $row !== null ? $row : 'none',
                    $column !== null ? $column : 'none',
                    $value !== null ? $value : 'none'
                )
            );

            return $cell;
        }

        return $this->findGrid()->findAll('xpath', $xpath);
    }
1237473
function td($rowName, $content) {
    $this->tsection->td($rowName, $this->colName, $content);
    return $this;
  }
22010
public function write_formula($row, $col, $formula, $format = null) {
        $this->worksheet->setCellValueExplicitByColumnAndRow($col, $row+1, $formula, PHPExcel_Cell_DataType::TYPE_FORMULA);
        $this->apply_format($row, $col, $format);
    }
651992
protected function constructCell($content = null, $attributes = array())
	{
		$cell = new Cell($content);
		$cell->setAttributes($attributes);

		return $cell;
	}
445619
public void setText (int row, int column, Object text, int colSpan, String... styles)
    {
        setText(row, column, String.valueOf(text));
        if (colSpan > 0) {
            getFlexCellFormatter().setColSpan(row, column, colSpan);
        }
        setStyleNames(row, column, styles);
    }
1014629
public ExcelWriter writeCellValue(int x, int y, Object value) {
		final Cell cell = getOrCreateCell(x, y);
		CellUtil.setCellValue(cell, value, this.styleSet, false);
		return this;
	}
521631
function(table,index,rowObj,createFlag,displayFlag){
			var row = table.insertRow(index + 1);
			row.setAttribute("role","row");
			if(!this.options.autoExpand && row.level > 0 && displayFlag != 'block'){
				row.style.display = 'none';
			}
			this.createContentOneRowTdForIE(row,rowObj,createFlag);
		}
1031841
public void setColumnsSpanned(final int colIndex, final int n) {
        if (n <= 1) return;

        final TableCell firstCell = this.getOrCreateCell(colIndex);
        if (firstCell.isCovered()) // already spanned
            return;

        firstCell.markColumnsSpanned(n);
        this.coverRightCells(colIndex, n);
    }
389325
public function cell(string $content = '') : ContentCell
    {
        $this->addCell($cell = new ContentCell);

        if ($content) {
            $cell->content($content);
        }

        return $cell;
    }
37207
function td($rowName, $colName, $content) {
    $this->tbody->td($rowName, $colName, $content);
    return $this;
  }
628929
public function setValues($values, $force=true) {
		$count=$this->count();
		$valuesSize=\sizeof($values);
		if ($this->_createCols === false || $force === true) {
			for($i=$count; $i < $valuesSize; $i++) {
				$colSize=\sizeof($values[$i]);
				$this->addItem(new HtmlGridRow($this->identifier . "-row-" . ($this->count() + 1), $colSize, $this->_colSizing, $this->_implicitRows));
			}
		}
		$count=\min(array ($this->count(),$valuesSize ));
		for($i=0; $i < $count; $i++) {
			$this->content[$i]->setValues($values[$i], $this->_createCols === false);
		}
	}
347687
function th($colName, $content) {
    $this->tsection->th($this->rowName, $colName, $content);
    return $this;
  }