Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Definelife on Dec 17, 2009 06:46
open dhtmlx forum
Toolbar at the layout botom

Dear support,

How can I add the toolbar (buttons look) at the bottom of the layout?
layoutcellA --> Toolbar--> Grid-->Toolbar(button look)

Thanks in advanced
Answer posted by Alex (support) on Dec 17, 2009 06:58

Hello,

there are 2 possible ways to attach toolbar at the bottom of the layout:

1) using statusbar, toolbar is inside it:

statusBar = dhxLayout.cells("a").attachStatusBar();

statusBar.setText("<div id='toolbarObj'></div>");
toolbar = new dhtmlXToolbarObject("toolbarObj");
toolbar.setIconsPath("...");
toolbar.loadXML("...");

2) Using another layout pattern - a pattern with a additional cell. The toolbar is attached to this cell.

Answer posted by Definelife on Dec 17, 2009 07:16
Thanks, it works.