Page 1 of 1

Error when filtering cross table

Posted: Tue Jan 05, 2016 9:41 am
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?

Re: Error when filtering cross table

Posted: Tue Jan 05, 2016 12:51 pm
by HighAley
Hello.

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

Thank you.

Re: Error when filtering cross table

Posted: Tue Jan 05, 2016 1:02 pm
by StixStax
The error disapears, but filtering still doesn't work.

Re: Error when filtering cross table

Posted: Tue Jan 05, 2016 1:29 pm
by HighAley
Hello.

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

Thank you.

Re: Error when filtering cross table

Posted: Tue Jan 05, 2016 2:35 pm
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.

Re: Error when filtering cross table

Posted: Wed Jan 06, 2016 8:03 am
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 2843 times
Thank you.

Re: Error when filtering cross table

Posted: Wed Jan 06, 2016 10:52 am
by StixStax
You were right. It works now. Thank you for your help

Re: Error when filtering cross table

Posted: Wed Jan 06, 2016 11:25 am
by HighAley
Hello.

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

Thank you.