"column" auto width & auto position & keep together

Stimulsoft Reports.Flex discussion
Locked
brianj774
Posts: 177
Joined: Tue Jan 11, 2011 7:15 am
Location: Minnesota

"column" auto width & auto position & keep together

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

"column" auto width & auto position & keep together

Post 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.
brianj774
Posts: 177
Joined: Tue Jan 11, 2011 7:15 am
Location: Minnesota

"column" auto width & auto position & keep together

Post by brianj774 »

can you point me in the general direction of that type of solution? Thanks!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

"column" auto width & auto position & keep together

Post 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.
Locked