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...
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.
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?
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.)
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.