dhtmlxconnector:dataitem_object_dhtmlx_dhtmlxcombo [DHX documentation]

PHP Connector DHTMLX

dhtmlxCombo

get_id

returns the id of an item.

$dataItem->get_id();

See also:

get_index

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

$dataItem->get_index();

Parameters:

  • none.

get_value

returns the value of a field.

$dataItem->get_value($name);

Parameters:

  • $name - name or alias of the field.

See Also:

select

marks the specified combo option as selected.

$dataItem->select();

Parameters:

  • none.

set_id

sets the id of an item.

$dataItem->set_id($value);

Parameters:

  • $value - id of the item.

See also:

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

$dataItem->skip()

Parameters:

  • none

set_value

sets the 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:

set_userdata

(available from version 1.5) sets user data for the item.

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

Parameters:

  • $name - the user data name
  • $value - user data string

See also: