Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by dactar on Oct 12, 2008 14:08
open dhtmlx forum
dhtmlxlayout onResizeFinish event

Hello :)

When I use :

dhxLayout.attachEvent('onCollapse', function resize(){mygrid1.setSizes();mygrid2.setSizes();mygrid3.setSizes();});
dhxLayout.attachEvent('onExpand', function resize(){mygrid1.setSizes();mygrid2.setSizes();mygrid3.setSizes();});

I've no problem :)

But if I use :

dhxLayout.attachEvent('onResizeFinish', function resize(){mygrid1.setSizes();mygrid2.setSizes();mygrid3.setSizes();});

Nothing happens when I move manually the lines to resizing areas.
I'm using a 3E layout.
Answer posted by Support on Oct 13, 2008 02:22
Hello

"onResizeFinish" is an external resize catcher (for example when layout is attached to window and window was resized)

if you need to catch panel resizing try "onPanelResizeFinish" event
Answer posted by dactar on Oct 13, 2008 14:53
Hello :)

Yes it works, thanks a lot :)

It could be useful to add onPanelResizeFinish in the section Event Handling of dhtmlxLayout's documentation.