Welcome Guest Search | Active Topics | Sign In | Register

Splitter collapse to non-zero width Options
Hub
Posted: Friday, March 26, 2010 5:09:23 PM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Hi,

Is there a way to collapse a collapsible splitter pane to a non zero minimum width?

Thanks
eo_support
Posted: Friday, March 26, 2010 5:15:23 PM
Rank: Administration
Groups: Administration

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

The closest you can have is to call client side resizePane function to resize the splitter to any position, but that would not be considered "collapsed". The following code resizes the splitter's left pane to 20px:

Code: JavaScript
eo_GetObject("Splitter1").resizePane(20);


Because the splitter is still not considered as "collapsed", so if user clicks the collapse button after you call the above code, it will still collapse to zero width.

Thanks!
Hub
Posted: Friday, March 26, 2010 5:29:01 PM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Got it.

I am really impressed by your response time!

Thank you.
Hub
Posted: Friday, March 26, 2010 6:25:23 PM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Hi again,

I did try the "eo_GetObject("Splitter1").resizePane(20);" code, but nothing happens.
My Splitter1 is vertical and has the right pane as the re sizable one. Can that be the reason why?

Also, I tried to look for resizePane function but could not find it in the documentation. Can you point me to it?

Thanks.
eo_support
Posted: Friday, March 26, 2010 8:07:12 PM
Rank: Administration
Groups: Administration

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

What version of the DLL are you running? I believe this was added very recently.

Thanks!
Hub
Posted: Saturday, March 27, 2010 8:21:02 AM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
I am running EO.Web.dll version 1[Neutral]
eo_support
Posted: Saturday, March 27, 2010 8:27:51 AM
Rank: Administration
Groups: Administration

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

I meant the DLL file version. Try to go to your bin folder, find EO.Web.dll, right click the DLL and then select property to see the file version number. The latest version is 7.0.62.x, where "x" can be "1" or "2". Please let us know if you are running that version. If not, you can download it from our download page.

Thanks!
Hub
Posted: Saturday, March 27, 2010 11:44:34 AM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
OK, I see. I currently have version 7.0.53.2. I will download the latest...

Thanks.
Hub
Posted: Saturday, March 27, 2010 1:26:11 PM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Working perfectly.

Thanks for your help.


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.