honda
#1
I buy a 2.6 pro version . but below code is working fine on 2.5 version
but 2.6 version toolbar2 will be null or undefine( can not attach 2 toolbar ?)
var toolbar1 = dhxLayout.cells("c").attachToolbar();
var toolbar2 = dhxLayout.cells("c").attachToolbar();
layout doesn’t allow to attach more than one toolbar to the cell:
You may attach to the cell toolbar and 1C layout with the otehr toolbar:
var toolbar1 = dhxLayout.cells(“c”).attachToolbar();
var layoutC = dhxLayout.cells(“c”).attachLayout(“1C”);
layoutC.cells(“a”).hideHeader();
var toolbar2 = layoutC.cells(“a”).attachToolbar();