Check documentation for the latest version of dhtmlxSuite addButtonTwoState DHTMLX Docs


adds a two-state button to the toolbar

void addButtonTwoState(string|number id,number pos,string text,string imgEn,string imgDis);
idstring|numberid of a two-state button
posnumberposition of a two-state button
textstringtext for a two-state button (null for no text)
imgEnstringimage for the enabled state (null for no image)
imgDisstringimage for the disabled state (null for no image)


myToolbar.addButtonTwoState(id, pos, text, imgEn, imgDis);

Back to top