Categories | Question details Back To List | ||
height resize on various component Hello, I'm having trouble with height resizing. I'm trying to resize various dhtmlx component when user resizes his window. On my page, I have at the top a fix banner which is not supposed to resize, below that, I have a dhtmlxTabbar, in the Tabbar there is a dhtmlxAccordion component, and finally some grid in the accordion. I'm trying to have all this component to fit the window's height. I kinda manage to resize the dhtmlxTabbar using dynamical resizing (on the onResize Event of body tag), but it's seems impossible getting the accordion to stick at the tabbar. I can't do anything to adjust initial position of the accordion. Did someone try to do something similar? Best regards, Renaud Answer posted by Support on Sep 09, 2009 07:53 Are you using dhtmlxSuite 2.5 or earlier version? Starting from version 2.5 tabbar provides the same component attaching functionality as accordion, so you can just put the accordion inside tabbar, and any change in tabbar's sizes will be reflected by attached accordion. http://www.dhtmlx.com/docs/products/dhtmlxTabbar/samples/05_components/07_accordion_inside.html Answer posted on Sep 09, 2009 08:24 Unfortunately, I'm currently using an earlier version (2.0). Answer posted by Renaud on Sep 11, 2009 07:35 Is there anyway to do something similar with an earlier version? Answer posted by Alex (support) on Sep 15, 2009 07:18 You can try to use the approach mentioned in the following post (attachAccordion instead of attachGrid should be here): http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=11051&a=18047 |