Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nelson S. on Jan 08, 2010 12:34
open dhtmlx forum
undock cell - question.

Hi,

I'm undocking cell to window, but I need the next.

a) I need to undock to a window with 'web' skin. I've layout with default skin : 'dhx_blue'.

b)I need to undock to a window with my own size.


How can I do this?

Thank you.
Answer posted by Alex (support) on Jan 11, 2010 09:37

Hello,

>> I need to undock to a window with 'web' skin. I've layout with default skin : 'dhx_blue'.

You can try to call dhxLayout.dhxWins.setSkin before undock

dhxLayout.dhxWins.setSkin("web");

dhxLayout.cells(id).undock();

>> I need to undock to a window with my own size.

dhxLayout.cells(id).undock();
  
dhxLayout.dhxWins.window(id).setDimension(width,height);



Answer posted on Jan 12, 2010 13:16
Thank you.

This works but have a bug.

When I change a 'web' skin, some cell's size change.

I don't know the reason.

I had to use default skin.



Attachments (1)
Answer posted by Alex (support) on Jan 13, 2010 00:26

When undock is called, window style is the same is the style of layout cell. So different skins can be not compatible.

You can try to create the necessary skin using skin builder. In this case there is no need to use approach provided before