I am using layout component. I want to show button/icon for undock in header (similar to that of expand/collapse on layout OR dock button on undocked layout window) so that user can undock any of the cells by clicking on the corresponding cell.
Is there any property/API by which the dock button will appear automatically for the layout?
If not, how can I achieve this behaviour in DhtmlxLayout version 2.5.
layout doesn’t provide ready functionality to add custom buttons in cell header.
You can try to use setText method to add the necessary html elements into the header.
dhxLayout.cells(“a”).setText(“some html here”)