update

changes an item

void update(string id,object item);

Parameters

idstringthe ID of an item
itemobjectnew properties for an item

Example

toolbar.data.update("add_btn",{ value:"Add new" });

Back to top