开发者

calculate the height of parent element

开发者 https://www.devze.com 2023-01-01 21:37 出处:网络
I have three datagrids inside VBo开发者_StackOverflow中文版x container. Since I don\'t want scrollbar in my flex widget i am increasing the height of SWF

I have three datagrids inside VBo开发者_StackOverflow中文版x container. Since I don't want scrollbar in my flex widget i am increasing the height of SWF through javascript, which increases with each addition of row in my datagrid. My query is how can I get the exact height of my VBox which is the parent element of datagrid. I am not able to get the height of VBox. I have tried to use measuredHeight,height with no success. Could anybody please suggest me the way out for the same.

Thanks in advance!!!


vbox.height should give you theheight of the DataGrid.

0

精彩评论

暂无评论...
验证码 换一张
取 消