Page 1 of 1

"column" auto width & auto position & keep together

Posted: Wed Mar 14, 2012 11:25 am
by brianj774
Hi,

I'm looking for a way to keep 'columns' together. Not stimulsoft COLUMNS objects, but, just textfields. Here's a pict of a report.

Image

What I'm trying to do is, first and foremost, make sure that the numbers don't get truncated, but that causes some other problems too, so, what I want is a way to make each "column" of data auto-width, and not just that, but also auto adjust their horizontal position so that they don't overlap.

So, with the red circled section, I'd like to make those 6 'columns' (they display as columns, so thats what I'm calling them) very narrow, and 'justified' to the right, like this...

Image

.. but for all 'columns'.... then, as defined by the needs of the content, have ALL columns do width adjustments (making sure headers stay with data and footers and report summary), and expanding to fill the 'white space' to the left.

Ideally, I'd also like it to be able to deal with eliminating columns altogether (via conditions), so that the amount columns are all pushed rightwards...the report looks AWFUL if I hide everything but Amount and Total, with all that empty space between them.

Is there any mechanism for making "something" like this happen?

Thanks very much

"column" auto width & auto position & keep together

Posted: Thu Mar 15, 2012 3:37 am
by HighAley
Hello.

There is no simple way to do it.
If there wasn't a group header, you could do it with StiTable.
But in your case the one way is to write a script in one or several events.

Thank you.

"column" auto width & auto position & keep together

Posted: Fri Mar 16, 2012 9:05 am
by brianj774
can you point me in the general direction of that type of solution? Thanks!

"column" auto width & auto position & keep together

Posted: Mon Mar 19, 2012 10:00 am
by HighAley
Hello.
brianj774 wrote:can you point me in the general direction of that type of solution? Thanks!
Sorry for our mistake. It's impossible to use scripts in Reports.Fx for Flex.

Thank you.