returns the id of an item.
$dataItem->get_id();
See also:
returns the index of the currently selected item (for example, in grid, it will be the index of a row ).
$dataItem->get_index();
Parameters:
returns the value of a field.
$dataItem->get_value($name);
Parameters:
See Also:
sets the id of an item.
$dataItem->set_id($value);
Parameters:
See also:
ignores the current item while rendering output. Allows you to define custom filtering rules.
$dataItem->skip()
Parameters:
assigns options collection to a column.
$dataItem->set_options($name,$options);
Parameters:
Sample:
$scheduler->set_options("type",array("1" => "one", "2" => "two","3" => "three"));
//or
$options = new OptionsConnector($res);
$options->render_table("types","type_id","type_id(value),type_name(label)");
$scheduler->set_options("type",$options);
sets the value of a field.
$dataItem->set_value($name,$value)
Parameters:
See Also:
(available from version 1.5)
sets user data for the item.
$dataItem->set_userdata($name,$value)
Parameters:
See also:
Back to top