Page 1 of 1

Question regarding tables

Posted: Tue Aug 05, 2025 1:47 am
by DavidLee82
Hi,

I'm trying to recreate and enhance the following report in Stimulsoft.
Screenshot 2025-08-05 091453.png
Screenshot 2025-08-05 091453.png (147.25 KiB) Viewed 1509 times
The Racks are basically shelves on an aisle, each shelf is long enough to hold a number of pallets. In the old report it's hardwired to 8 pallets per shelf but I would like to add flexibility in to the program to allow that to be redefined. That means, the column of the table is not set in stone and can change based on location. To achieve this I'm using a cross-tab table inside a panel in the data band. However I have some questions in regards to this.

This is what I have so far:
Screenshot 2025-08-05 092839.png
Screenshot 2025-08-05 092839.png (23.37 KiB) Viewed 1509 times
Firstly, how do I set it so the table automatically expand and fill the whole panel? I do have the table stretched to the whole panel in the editor but it doesn't do so when rendered.
Screenshot 2025-08-05 093236.png
Screenshot 2025-08-05 093236.png (1.04 MiB) Viewed 1509 times
Secondly I would like it to sort from highest rack (A8 A1) to lowest (A1 A1). It seems that no matter how I set up the sorting in the table my sorting settings is being ignored.

Lastly, how do I add a carton count to the end of the table? As seen in the example at the end of the table, if two locations are occupied, it will print a 2 in the column. I am not able to do this to the table.

I have attached a copy of the report, with the connection string removed as the connection string points to azure sql and has some confidential information.

Kindly advise, thanks.

Re: Question regarding tables

Posted: Tue Aug 05, 2025 6:29 pm
by Lech Kulikowski
Hello,

> Firstly, how do I set it so the table automatically expand and fill the whole panel?

You can place your Cross-Tab on the band and set HorizontalAlignment=Width

> Secondly I would like it to sort from highest rack (A8 A1) to lowest (A1 A1). It seems that no matter how I set up the sorting in the table my sorting settings is being ignored.
> Lastly, how do I add a carton count to the end of the table? As seen in the example at the end of the table, if two locations are occupied, it will print a 2 in the column. I am not able to do this to the table.

Please send test data for your report.

Thank you.

Re: Question regarding tables

Posted: Wed Aug 06, 2025 8:05 am
by DavidLee82
Okay. Setting Horizontal Alignment to Width solved the first issue. Thanks.

For the second example I will attach a data dump of my development table.

Re: Question regarding tables

Posted: Wed Aug 06, 2025 10:12 am
by Lech Kulikowski
Hello,

> Secondly I would like it to sort from highest rack (A8 A1) to lowest (A1 A1). It seems that no matter how I set up the sorting in the table my sorting settings is being ignored.

You can set the SortDirection option.

Thank you.

Re: Question regarding tables

Posted: Thu Aug 07, 2025 9:24 am
by DavidLee82
Hi,

I think the second method works too. So thanks. That leaves the last question. Is it possible to generate the total that is to the right of the table?

Re: Question regarding tables

Posted: Fri Aug 08, 2025 8:53 am
by Lech Kulikowski
Hello,

Unfortunately, there is no option to show text values in cells and count them.

You can use Cross-Data instead of the Cross-Tab with the necessary calculations.

Thank you.

Re: Question regarding tables

Posted: Mon Aug 11, 2025 8:26 am
by DavidLee82
Noted. I think I have a workaround for this but this now gives me the incentive to experiment.

Thanks.

Re: Question regarding tables

Posted: Mon Aug 11, 2025 9:06 am
by Lech Kulikowski
Hello,

You are welcome.