getLength()
counts child items of a control
getLength(id?: string | number): number;
Parameters:
id: string | number
- the ID of a control
Returns:
A number of the child items of the control.
Example
toolbar.data.getLength("menu1");
counts child items of a control
id: string | number
- the ID of a controlA number of the child items of the control.
Example
toolbar.data.getLength("menu1");