Rank: Member Groups: Member
Joined: 8/28/2008 Posts: 25
|
I want to be able to resize a grid from javascript...
Any ideas on how this could be done?
I had a look in the docs, but they dont have anything that helped...currently I have wrapped the grid in a div, set the grid size to 100%, then I change the height of the div from js....considering the amount of focus on client side dev in EO controls it seems as though I should be able to change the height of the control directly??
Thx
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Hi, You would call client side setSize method. http://www.essentialobjects.com/ViewDoc.aspx?t=JSDoc.Public.Control.setSize.htmlHere is an example using this method: http://www.essentialobjects.com/Demo/Default.aspx?path=Splitter\features\_i6You can check the source code of the example and see how it is used. Thanks!
|