I have such code:
var layout = win.attachLayout(“2E”);
layout.cells(“a”).setText(“TEST”);
layout.cells(“a”).setHeight(150);
layout.cells(“a”).fixSize(false, true);
layout.cells(“a”).collapse();
I want see my “TEST” when cell is collapsed.
I have such code:
var layout = win.attachLayout(“2E”);
layout.cells(“a”).setText(“TEST”);
layout.cells(“a”).setHeight(150);
layout.cells(“a”).fixSize(false, true);
layout.cells(“a”).collapse();
I want see my “TEST” when cell is collapsed.
layout.setCollapsedText(“a”, “TEST”);
Sorry, it don’t work.
I use v2.5, I also don’t see such method in the chm doc, may be you supporting that functionality starting from the v2.6?
Hello,
this method is included into the latest layout version (build 91111). There is the sample in the Suite package (you may download it from our website):
dhtmlxSuite/dhtmlxLayout/samples/02_conf/15_collapsed_text.html