|
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
|
|
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!
|
|
Rank: Advanced Member Groups: Member
Joined: 3/16/2010 Posts: 101
|
Got it.
I am really impressed by your response time!
Thank you.
|
|
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.
|
|
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!
|
|
Rank: Advanced Member Groups: Member
Joined: 3/16/2010 Posts: 101
|
I am running EO.Web.dll version 1[Neutral]
|
|
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!
|
|
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.
|
|
Rank: Advanced Member Groups: Member
Joined: 3/16/2010 Posts: 101
|
Working perfectly.
Thanks for your help.
|
|