checks whether an item with the specified id exists
id | id | the id of an item |
boolean | returns true if the item exists. Otherwise, false |
if(!$$("my_dataview").exists())// -> returns boolean value
var dataview = new webix.UI({
view:"dataview",
id:"my_dataview",
..config
});
Back to top