Hello.
How can we still show the header text in dhtmlxLayout even if the header has been collapsed?
Hello,
you can use setCollapsedText method:
layout.setCollapsedText(cellId,text);
everything works, thanks!
I’m trying to use this method, but it isn’t working…
I think you need to use new version of dhtmlxLayout.
This is what I got from “readme.txt”:
dhtmlxLayout v.2.5 Standard edition build 91111
Is this the problem?
I have the same version.
My source code:
…
…
dhxLayout = new dhtmlXLayoutObject(“layoutContainer”, pattern);
dhxLayout.cells(“a”).setText(“Caption”);
dhxLayout.setCollapsedText(“a”, “Collapsed caption”);
My sample source code:
[code]
test dhtmlx [/code]And it’s not working…
Thank you, Alexandra!
Now it’s working.
Also, thank you pashtet for your time.