Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ashok on Jul 06, 2009 00:14
open dhtmlx forum
Possible to Set height for cells in percentage level?

Hello Team,

I am using 3J Modal Layout.. in this i need to set the height for each cell(that means the cells "a" and "c") in percentage level..

If i am using setHeight() means.. i must set the value for height is in pixels.. not in percentage level. is there any api u have provided for my requirement... else give me the guidance to achieve this.


Thanks & Regards,
Ashok
Answer posted by Alex (support) on Jul 06, 2009 01:55

Hello, 

yes, setHeight method requires height in pixels. Unfortunately, layout doesn't support methods to set height in percents. So, you should calculate the necessary height in pixels and then call setHeight method.