Page 3 of 4

Re: Horizontal scroll bar on the subfile grid

Posted: Mon Sep 23, 2013 9:41 am
by p.baum
georg.merten wrote:Hi,

we tried this in a program but received an error msg from genie.js (firebug)
TypeError: a is null
anonymous()genie.js (line 1044)
anonymous()genie.js (line 1173)
...nged=true;d.designer.O[d.designer.f.screenId]=true;d.designer.p.I();return true}...

it appears when I click on a button and expected exfmt...
exactly...

So it will be solved in the next version?

Regards
Patrick

Re: Horizontal scroll bar on the subfile grid

Posted: Mon Sep 23, 2013 9:52 am
by Scott Klement
The error I'm getting is a little different

Code: Select all

TypeError: a.iScroll.D is not a function
The error does not occur in our development sources, but it does occur in the final sources that I would send to a customer. I need to look into it further before I can promise that it will be fixed in the next release.

Re: Horizontal scroll bar on the subfile grid

Posted: Tue Oct 01, 2013 8:10 pm
by SeanTyree
Scott, I noticed the following in the install notes for 4.6.5:
Add overlow x and overlow y properties to the Simple Container Layout.

After installing, I am not able to see these properties. Was this a mistake and planned for 4.6.6?

Sean

Re: Horizontal scroll bar on the subfile grid

Posted: Wed Oct 02, 2013 8:55 am
by Scott Klement
These options were added to the simple layout in 4.6.5.

If you've installed 4.6.5 and do not see them, try clearing your browser cache and re-loading the page.

Re: Horizontal scroll bar on the subfile grid

Posted: Wed Oct 02, 2013 4:24 pm
by SeanTyree
Thanks Scott, it's working now.

Re: Horizontal scroll bar on the subfile grid

Posted: Tue Feb 18, 2014 6:34 am
by Gerd
Hi Scott,

if i've designed this in a display i have another problem: The vertical scrollbar is only visible at the right edge of the grid.
Is it possible to show the vertical scrollbar, even if the grid is on the left edge or in the middle range?

Thanks, Gerd

Re: Horizontal scroll bar on the subfile grid

Posted: Tue Feb 18, 2014 4:21 pm
by Scott Klement
Hi Gerd,

If you are coding this on a desktop, please do not use the 'mobile scroller' technique. On a current release, you should instead use a simple layout with the 'overflow x' property set to 'scroll'. That will give you a horizontal scrollbar.

Starting with PUI 4.7.1 (and including all newer releases) when PUI sees a subfile inside a simple layout, it'll automatically move the vertical scrollbar from the grid onto the layout, so the scrollbar will always be visible. So using that technique should solve the problem you describe.

Let me know if it helps. (I'm not sure if I explained it well.)

Re: Horizontal scroll bar on the subfile grid

Posted: Wed Feb 19, 2014 3:36 am
by Gerd
Hi Scott,

thank you very much, it works!

Re: Horizontal scroll bar on the subfile grid

Posted: Wed Jan 14, 2015 2:20 pm
by swushw
Hi Scott,

I am adding a column to an existing grid which makes the grid too wide to fit in the current container (panel). So I am working on adding a horizontal scroll bar on the grid. I have done the following:
• make sure the subfile is inside a 'simple container layout' widget
• the 'overflow x' property of the simple container layout is set to 'scroll'
• change the 'width' property of the layout to a smaller size (so that it's no longer too large for the screen).

However, when I set the 'width' property of the layout to a smaller size, the grid was resized to fit into the narrower layout. What did I do wrong?

I tried doing the same with a brand-new grid and I didn't have any issue.

Thanks,
Shirley

Re: Horizontal scroll bar on the subfile grid

Posted: Wed Jan 14, 2015 2:46 pm
by Scott Klement
Make sure 'expand to layout' is turned off for your grid... that's all I can think of that would make it change based on the size of the container...

Does that help?