sets header text for collapsed cell
text | string | text for collapsed cell (html allowed) |
myLayout.cells(id).setCollapsedText("Collapsed cell");
// or
myLayout.cells(id).setCollapsedText("<span style='color:red;'>Important!</span>");
You can specify the 2nd parameter as an image. It can be used for correct representation when you deal with vertical cells.
var collText = dhxLayout.cells("a").setCollapsedText("<img src='../common/labels/1.gif'
width='18px' height='81px' border='0'>");
added in 4.0
Back to top