Welcome Guest Search | Active Topics | Sign In | Register

Resizing Grid from client Options
SteveClements
Posted: Tuesday, September 23, 2008 3:20:28 AM
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
eo_support
Posted: Tuesday, September 23, 2008 8:02:43 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,090
Hi,

You would call client side setSize method.

http://www.essentialobjects.com/ViewDoc.aspx?t=JSDoc.Public.Control.setSize.html

Here is an example using this method:

http://www.essentialobjects.com/Demo/Default.aspx?path=Splitter\features\_i6

You can check the source code of the example and see how it is used.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.