Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Reporting tools (GRW, GRE)
>
Tables
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: Tables (Read 15051 times)
Paul M.
Posts: 31
Tables
«
on:
April 25, 2014, 02:36:24 pm »
Using Genero 2.50
Is it possible for a table to shrink to the size of the last visible column or to have the last visible column take the rest of the space?
I have created a table with 5 columns then in some cases I want to hide the last 2 columns which I can do. But the space taken up by these 2 columns isn't usable. The table stays the same width across the page and the last column (no.3) doesn't grow to take up the remaining space.
So just wondering if it is or will be possible to shrink the table or widen the last column to take up the space available.
Thanks.
Regards,
Paul Murray.
Lionel F.
Posts: 83
Re: Tables
«
Reply #1 on:
April 28, 2014, 04:32:28 pm »
Hi Paul,
Wouldn't it be more a GDC issue?
Did you consider using the "resizeFillsEmptySpace" style attribute ?
<Style name="Table">
<StyleAttribute name="resizeFillsEmptySpace" value="yes"/>
</Style>
With this attribute, the table always adapts the size of the last column to avoid unused space.
Best regards,
Lionel
Paul M.
Posts: 31
Re: Tables
«
Reply #2 on:
April 28, 2014, 05:48:15 pm »
Lionel,
No, its the table available in Genero 2.50 GRW(see attached image).
Screenshot - Mon-28Apr14@1535.png
(46.01 KB, 334x933 - viewed 2398 times.)
Henri L.
Posts: 2
Re: Tables
«
Reply #3 on:
April 28, 2014, 05:52:35 pm »
Hi Paul,
How do you hide the 2 last columns ? Do you set the width of the column to zero ? Or did you find another solution?
You can use an expression for the X-Size property of the table. Try something like : {hideLastColumn>0?"10cm":"15cm"}
I assume that there is a variable “hideLastColumn” in the data, please adapt to your context.
Best Regards,
Henri
Paul M.
Posts: 31
Re: Tables
«
Reply #4 on:
April 29, 2014, 09:13:48 am »
Hi Henri,
I was setting the visibility condition property to hide the columns.
I will give setting the x-size of the table a go and see what happens.
Thanks for the suggestion.
Regards,
Paul Murray.
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...