DHTMLX Docs & Samples Explorer

dhtmlxCombo

get_id

returns id of the item.

$dataItem->get_id();

See also:

get_index

returns an index of the currently selected item (for example, in grid, it will be an index of row )

$dataItem->get_index();

Parameters:

  • none.

get_value

returns value of a field.

$dataItem->get_value($name);

Parameters:

  • $name - name or alias of the field.

See Also:

select

mark combo option as selected.

$dataItem->select();

Parameters:

  • none.

set_id

sets id of the item.

$dataItem->set_id($value);

Parameters:

  • $value - id of the item.

See also:

ignores the current item while rendering output. Allows to define custom filtration rules.

$dataItem->skip()

Parameters:

  • none

set_value

sets value of a field.

$dataItem->set_value($name,$value)

Parameters:

  • $name - name or alias of the field
  • $value - value of the field in question

See Also: