returns the state of selected item.
<cfset dataItem.get_check_state()>
Returns:
'-1' - third (custom) state. See also:
returns id of the item.
<cfset dataItem.get_id()>
See also:
returns an index of the currently selected item (for example, in grid, it will be an index of row )
<cfset dataItem.get_index()>
Parameters:
returns parent id of selected item.
<cfset dataItem.get_parent_id()>
Parameters:
returns value of a field.
<cfset dataItem.get_value(name)>
Parameters:
See Also:
allows to set some attribute for the item.
<cfset dataItem.set_attribute(name, value)>
Parameters:
allows to set the state of a checkbox related to the item.
<cfset dataItem.set_check_state(value)>
Parameters:
value - state of the item.
Valid values are:
'0' - unchecked.
'-1' - third custom state. See also:
sets id of the item.
<cfset dataItem.set_id(value)>
Parameters:
value - id of the item. See also:
allows to set image for any item in tree.
<cfset dataItem.set_image(img)>
Parameters:
img - relative path to image which will be set for a item. Description:
Can be used with variable number of parameters.
<cfset dataItem.set_image(img1,img2,img3)>
allows to mark item as a leaf or branch of tree.
<cfset dataItem.set_kids(is_enabled)>
Parameters:
ignores the current item while rendering output. Allows to define custom filtering rules.
<cfset dataItem.skip()>
Parameters:
sets value of a field.
<cfset dataItem.set_value(name, value)>
Parameters:
See Also:
Back to top