Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vibhav Agrawal on Jan 19, 2010 02:35
open dhtmlx forum
Button for dock inside a layout cell

Hi,

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.

 

Thanks,

Vibhav Agrawal

Answer posted by Alex (support) on Jan 19, 2010 09:25

Hello,

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")