Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Daniel on Feb 28, 2008 21:16
open dhtmlx forum
How to get a handle to a toolbar item by id

Hi,
I was trying to get a handle of a toolbar item by id, but was surprised not to find one.
In the doco there is only one API call that can get the item handle by position!
This is strange as I might add items as I go or re-arrange them and I don't want to go and search the code to update an old code.

Is this something missing from the doco or it is indeed a missing API?

Thanks,
Answer posted on Feb 29, 2008 10:10
Sorry for inconvenience, by some reason not full API available in online documentation - please use API list from attached file ( we will fix online documentation in nearest time )

>> to get a handle of a toolbar item by id
    toolbar.getItem(id);
Attachments (1)