Skip to main content

loadItems()

loads child items of a control from a file

loadItems(id: Id, driver?: IDataDriver | DataDriver): void;

Parameters:

  • id: string - the ID of a control
  • driver: object | string - optional, DataDriver or type of data ("json", "csv", "xml"), "json" by default

Example

myToolbar.data.loadItems("menu_id");