nJDSK.Window.toolbarHelper.removeItem


Removes a toolbar item and cleans up it’s place (if it was the only element in a row, the row will be removed as well. If that row was the only row, the toolbar will also be removed).

nJDSK.Window.toolbarHelper.removeItem(id)

Parameters

string id button id

Example

var newWindow = new nJDSK.Window(640,480,'A window with text','',msg, nJDSK.uniqid(),false,false,true);
newWindow.toolbarHelper.removeItem('toolbar_item_id');