Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Feb 10, 2009 05:58
open dhtmlx forum
collapse cell in layout

Hello,

I have a layout cell 'a' and cell 'b'. In cell 'a' i attached Accordian.

I want to collapse cell 'a', if no action is performed on it for 2 seconds. Once user put mouseover cell 'a', again cell 'a' with accordian should get expanded.

I know this works as given in header onclick on '>>', it hide cell 'a', but i want this should happen based on ideal seconds.


Regards,
Ram


Answer posted by Alex (support) on Feb 10, 2009 08:15

There is collapse() method of the layout cell. You can use it for closing.

Please, have a look at the sample dhtmlxLayout/samples/conf/expcol.html