I wanted to know how to write a ‘for’ loop in DHTMLX Touch ?
if you need to iterate through elements of some component, you can use
alert(obj.id); //will be called for each item in collection
No actually I just want to know if there is any way of writing a loop in DHTMLX Touch ?
Also I want to know how to write if-else condition ?
The problem is not clear enough… You may use a common JS syntax for if-else and for()
Ok thank you. Actually when I tried it gave me some error. But still I will try again.