expandcollaps

dhtmlXGridObject object API

initialization

selection control

rows control

colums control

cells controll

data manipulation

appearence control

overal grid control

treegrid

event handlers

dhtmlXGridCellObject object API

getBgColor()
determ. cell's background color

File required:dhtmlxGridCell.js
Returns:cell's background color
getFont()
determ. font style if it was set

File required:dhtmlxGridCell.js
Returns:font name only if it was set for the cell
getHorAlign()
determines horisontal align od the cell

File required:dhtmlxGridCell.js
Returns:horisontal align of cell content
getTextColor()
determ. cell's text color

File required:dhtmlxGridCell.js
Returns:cell's text color
getValue()
gets Value of cell

File required:dhtmlxGridCell.js
getWidth()
gets width of the cell in pixel

File required:dhtmlxGridCell.js
Returns:width of the cell in pixels
isCheckbox()
determines whether first child of the cell is checkbox or radio

File required:dhtmlxGridCell.js
Returns:true if first child of the cell is input element of type radio or checkbox
isChecked()
determines whether radio or checkbox inside is checked

File required:dhtmlxGridCell.js
Returns:true if first child of the cell is checked
isDisabled()
determines whether cell content (radio,checkbox) is disabled

File required:dhtmlxGridCell.js
Returns:true if first child of the cell is disabled
setBgColor(val)
sets background color to the cell

File required:dhtmlxGridCell.js
  • val - color value (name or hex)
  • setChecked(fl)
    checks checkbox or radion

    File required:dhtmlxGridCell.js
  • fl - true or false
  • setDisabled(fl)
    disables radio or checkbox

    File required:dhtmlxGridCell.js
  • fl - true or false
  • setFont(val)
    sets font family to the cell

    File required:dhtmlxGridCell.js
  • val - string in format: Arial-bold(italic,bolditalic)-12px
  • setHorAlign(val)
    sets horisontal align to the cell

    File required:dhtmlxGridCell.js
  • val - value in single-letter or full format(exmp: r or right)
  • setTextColor(val)
    sets text color to the cell

    File required:dhtmlxGridCell.js
  • val - color value (name or hex)
  • setValue(val)
    sets value to the cell

    File required:dhtmlxGridCell.js
  • val - new value
  • wasChanged()
    determines whether cell value was changed

    File required:dhtmlxGridCell.js
    Returns:true if cell value was changed, otherwise - false

    eXcell object API

    getBgColor()
    determ. cell's background color

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
    Returns:cell's background color
    getFont()
    determ. font style if it was set

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
    Returns:font name only if it was set for the cell
    getHorAlign()
    determines horisontal align od the cell

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
    Returns:horisontal align of cell content
    getTextColor()
    determ. cell's text color

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
    Returns:cell's text color
    getValue()
    gets Value of cell

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
    getWidth()
    gets width of the cell in pixel

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
    Returns:width of the cell in pixels
    isCheckbox()
    determines whether first child of the cell is checkbox or radio

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
    Returns:true if first child of the cell is input element of type radio or checkbox
    isChecked()
    determines whether radio or checkbox inside is checked

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
    Returns:true if first child of the cell is checked
    isDisabled()
    determines whether cell content (radio,checkbox) is disabled

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
    Returns:true if first child of the cell is disabled
    setBgColor(val)
    sets background color to the cell

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
  • val - color value (name or hex)
  • setChecked(fl)
    checks checkbox or radion

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
  • fl - true or false
  • setDisabled(fl)
    disables radio or checkbox

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
  • fl - true or false
  • setFont(val)
    sets font family to the cell

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
  • val - string in format: Arial-bold(italic,bolditalic)-12px
  • setHorAlign(val)
    sets horisontal align to the cell

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
  • val - value in single-letter or full format(exmp: r or right)
  • setTextColor(val)
    sets text color to the cell

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
  • val - color value (name or hex)
  • setValue(val)
    sets value to the cell

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
  • val - new value
  • wasChanged()
    determines whether cell value was changed

    Nested from:dhtmlXGridCellObject
    File required:dhtmlxGridCell.js
    Returns:true if cell value was changed, otherwise - false

    dhtmlXGridComboObject object API

    clear()
    clears combobox

    File required:dhtmlxGridCell.js
    get(key)
    gets value corresponding to the given key

    File required:dhtmlxGridCell.js
  • key - object to use as a key (should be a string in the case of combobox)

  • Returns:value correspond. to given key or null if no such key
    getKeys()
    gets array of all available keys present in combobox

    File required:dhtmlxGridCell.js
    Returns:array of all available keys
    put(key,value)
    puts new combination of key and value into combobox

    File required:dhtmlxGridCell.js
  • key - object to use as a key (should be a string in the case of combobox)
  • value - object value of combobox line
  • remove(key)
    remove pair of key-value from combobox with given key

    File required:dhtmlxGridCell.js
  • key - object to use as a key
  • size()
    gets the size of combobox

    File required:dhtmlxGridCell.js
    Returns:current size of combobox