Widgets
Samples
Forum
Support
Documentation
/
Suite 7.0
add
canCopy
copy
eachChild
eachParent
exists
filter
forEach
getId
getIndex
getItem
getItems
getLength
getParent
getRoot
haveItems
isSaved
load
loadItems
move
parse
refreshItems
remove
removeAll
restoreOrder
save
serialize
sort
update
Start
Helpers
TreeCollection API
Methods
exists
checks whether the specified item exists in the component
boolean
exists
(
string|number
id
);
Parameters
id
string|number
the id of the item in question
Returns
boolean
true if the item exists, otherwise false
Example
var
item
=
component.
data
.
exists
(
"1"
)
;
Back to top