Is it possible to hide tabs zone?
I’m able to hide the tabs using a loop on the array returned by tabbar.getAllTabs() but I need to remove completly the space remaining.
I tried to set element (.dhx_tablist_zone) height to 0 and it works but everytime a tab is activated it is reverted to original height.
Can I do it? It is really important
thanks in advance
V
I’m using the new very cool skin, very usable with fingertips.
I don remember the name but I’m sure you know.
I have a pro license.
Thanks in advance
V
A clarification because the nesting you are suggesting to me seems a bit complicated.
Probably I have misanderstood your suggestion.
var dhxLayoutInner = dhxLayout.cells("b").attachLayout("1C");
//I have an outer layout 2E and we'll work on cell("b")
for (var i = 0; i < length; i++) {
var nestedLayout = dhxLayoutInner.cells("a").view(arr[i]).attachLayout("1C");
// for every element I attach a view containing a new layout 1c ?
}
Can you explain better this:
“attach views to this 1C as attachLayout (as in the sample grid and tree are attached)”
Thank you Daria,
When you use the method setActive() to “activate” a view, do you expect that the view is reloaded as the first time?
I have 2 views, I start to compile a form, then I activate the other view to look at something.
When I return to the first view do you expect to retrieve the form compiled?
I made a test.
Every time I call .setActive() it reloads all the assets and page as it was the first time.
The Tabbar, in iframe mode is not acting this way.
An I doing something wrong?
You will have the same result with tabbar: all the views, which come active (both layout and tabbar) will be reloaded to the beginning state. It is a correct behaviour because it is browser irames behaviour. It is not dhtmlx.