Error when filtering cross table

Stimulsoft Reports.NET discussion
Post Reply
StixStax
Posts: 46
Joined: Wed Aug 12, 2015 9:41 am

Error when filtering cross table

Post by StixStax »

Hi,

I tried to filter a crosstable like shown here:
http://webfx.stimulsoft.com/?reportname ... ingCountry

Unfortunately I got an array error:

Code: Select all

   at Stimulsoft.Report.CrossTab.Core.StiGrid.SetCell(Int32 cellX, Int32 cellY, Int32 cellWidth, Int32 cellHeight, Object text, Object value, StiCrossField field, Boolean isNumeric, Object hyperlink, Object toolTip, Object tag, Dictionary`2 drillDownParameters, Int32 level)
   at Stimulsoft.Report.CrossTab.Core.StiCross.SetCellValue(Int32 x, Int32 y, Object value, Int32 calcIndex, Int32 level, StiFieldType fieldType, Object hyperlinkValue, Object toolTipValue, Object tagValue, Dictionary`2 drillDownParameters)
   at Stimulsoft.Report.CrossTab.Core.StiCross.CopySummary(StiSummary summary, Int32 left, Int32 top, Int32 colIndex, Int32 rowIndex, Boolean setValue, Boolean grandTotal, Object emptyValue)
   at Stimulsoft.Report.CrossTab.Core.StiCross.CopySummaries(Int32 left, Int32 top, Object emptyValue)
   at Stimulsoft.Report.CrossTab.Core.StiCross.Create(DataTable table, StiReport report, StiSummaryDirection direction, String emptyValue)
   at Stimulsoft.Report.CrossTab.StiCrossTabHelper.BuildCross(StiCrossTab masterCrossTab, Boolean designTime)
   at Stimulsoft.Report.CrossTab.StiCrossTabHelper.CreateCross(StiCrossTab masterCrossTab)
Is there any other way to filter a cross table?
Attachments
Demo.xsd
(12.72 KiB) Downloaded 448 times
Demo.xml
(1.76 MiB) Downloaded 541 times
RepeatColumn.mrt
(18.69 KiB) Downloaded 392 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Error when filtering cross table

Post by HighAley »

Hello.

We have found a bug. Please, set the Show Totals property of the Row to True.

Thank you.
StixStax
Posts: 46
Joined: Wed Aug 12, 2015 9:41 am

Re: Error when filtering cross table

Post by StixStax »

The error disapears, but filtering still doesn't work.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Error when filtering cross table

Post by HighAley »

Hello.

The Sorting works right.
What value do you set to the parameter?

Thank you.
StixStax
Posts: 46
Joined: Wed Aug 12, 2015 9:41 am

Re: Error when filtering cross table

Post by StixStax »

I tried to put in Canada as a value but nothing happened. I was hoping to see Argentina etc. disapear after klicking on submit.
Attachments
example.png
example.png (21.67 KiB) Viewed 2850 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Error when filtering cross table

Post by HighAley »

Hello.

Your previous report template works fine.
Did you do any changes in the report?
Untitled.png
Untitled.png (3.99 KiB) Viewed 2844 times
Thank you.
StixStax
Posts: 46
Joined: Wed Aug 12, 2015 9:41 am

Re: Error when filtering cross table

Post by StixStax »

You were right. It works now. Thank you for your help
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Error when filtering cross table

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need additional help.

Thank you.
Post Reply