var instance = new GC.Spread.Sheets.StatusBar.StatusBar(host); var value; // Type: boolean value = instance.add(item, position);
function add( item : StatusItem, position : number ) : boolean;
Parameters
- item
- The instance of the child of StatusItem. The child extends from StatusItem.
- position
- The position is items index in all items array. Start from 0. Items display position is also related to align. If position is invalid or undefine, place it by default.
Return Value
Add item result. Return true if add success, else failed.