Question regarding tables

Stimulsoft Reports.WEB discussion
Post Reply
DavidLee82
Posts: 15
Joined: Wed Jul 03, 2024 12:52 am

Question regarding tables

Post 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 1511 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 1511 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 1511 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.
Attachments
MelsReceivingReport.mrt
(21.34 KiB) Downloaded 11 times
Lech Kulikowski
Posts: 7357
Joined: Tue Mar 20, 2018 5:34 am

Re: Question regarding tables

Post 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.
DavidLee82
Posts: 15
Joined: Wed Jul 03, 2024 12:52 am

Re: Question regarding tables

Post 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.
Attachments
melslocdb-datadump.txt
(111.38 KiB) Downloaded 10 times
Last edited by DavidLee82 on Fri Aug 08, 2025 12:47 am, edited 1 time in total.
Lech Kulikowski
Posts: 7357
Joined: Tue Mar 20, 2018 5:34 am

Re: Question regarding tables

Post 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.
Attachments
Screenshot 2025-08-06 121233.png
Screenshot 2025-08-06 121233.png (167.46 KiB) Viewed 1477 times
DavidLee82
Posts: 15
Joined: Wed Jul 03, 2024 12:52 am

Re: Question regarding tables

Post 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?
Lech Kulikowski
Posts: 7357
Joined: Tue Mar 20, 2018 5:34 am

Re: Question regarding tables

Post 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.
DavidLee82
Posts: 15
Joined: Wed Jul 03, 2024 12:52 am

Re: Question regarding tables

Post by DavidLee82 »

Noted. I think I have a workaround for this but this now gives me the incentive to experiment.

Thanks.
Lech Kulikowski
Posts: 7357
Joined: Tue Mar 20, 2018 5:34 am

Re: Question regarding tables

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply