loadItems()
loads child items of a control from a file
loadItems(id: string | number, driver?: object | string): void;
Parameters:
id: string | number
- the ID of a controldriver: object | string
- optional, DataDriver or type of data ("json", "csv", "xml"), "json" by default
Example
myToolbar.data.loadItems("menu_id");