Stimulsoft Reports.Net (2012.2) Hierarchical Band
Stimulsoft Reports.Net (2012.2) Hierarchical Band
Hi,
i am creating a report which contains Stimulsoft Reports.Net (2012.2) Hierarchical Band.
This report is finally rendered on a aspx-page.
Problem:
how to show items with no children first in the Hierarchical Band right after the root?
E.g. like this:
Root----Child1
Root----Child2
Root----Child3
Root----Child4----Child4.1
Root----Child4----Child4.2
Root----Child5----Child5.1
Root----Child5----Child5.2
Root----Child5----Child5.3
Child 1,2,3 should appear first right after the Root because they do not have any children.
And after Children1,2,3 then the other children should be rendered (bacause they have some children).
Is it possible to render the Hierarchical Band that way?
Data are in Data-Set and I sorted corresponding data-table already but this didn't help.
And my second question:
Is it possible to use collapsing functionality in Hierarchical band on apsx-page?
I have followed the examples but this did not work, in browser no collapsing buttons were shown.
Thank you for advice, kind regards Dan Dusek
i am creating a report which contains Stimulsoft Reports.Net (2012.2) Hierarchical Band.
This report is finally rendered on a aspx-page.
Problem:
how to show items with no children first in the Hierarchical Band right after the root?
E.g. like this:
Root----Child1
Root----Child2
Root----Child3
Root----Child4----Child4.1
Root----Child4----Child4.2
Root----Child5----Child5.1
Root----Child5----Child5.2
Root----Child5----Child5.3
Child 1,2,3 should appear first right after the Root because they do not have any children.
And after Children1,2,3 then the other children should be rendered (bacause they have some children).
Is it possible to render the Hierarchical Band that way?
Data are in Data-Set and I sorted corresponding data-table already but this didn't help.
And my second question:
Is it possible to use collapsing functionality in Hierarchical band on apsx-page?
I have followed the examples but this did not work, in browser no collapsing buttons were shown.
Thank you for advice, kind regards Dan Dusek
Re: Stimulsoft Reports.Net (2012.2) Hierarchical Band
Hello,
Can you please send us your report with test data for analysis.
Thank you.
Can you please send us your report with test data for analysis.
Thank you.
Re: Stimulsoft Reports.Net (2012.2) Hierarchical Band
Hi,
here report and sample data.
Kind regards, Dan Dusek
here report and sample data.
Kind regards, Dan Dusek
- Attachments
-
- AuditLoggingReport.mrt
- (25.58 KiB) Downloaded 194 times
-
- SampleData.xls
- (89 KiB) Downloaded 273 times
Re: Stimulsoft Reports.Net (2012.2) Hierarchical Band
Hello,
Can you please send us a test data which we can use in your report.
As a way, you can use the following code in BeforePrint event of page for save data as .xml:
Info.DataTable.DataSet.WriteXmlSchema("");
Info.DataTable.DataSet.WriteXml("");
Thank you.
Can you please send us a test data which we can use in your report.
As a way, you can use the following code in BeforePrint event of page for save data as .xml:
Info.DataTable.DataSet.WriteXmlSchema("");
Info.DataTable.DataSet.WriteXml("");
Thank you.
Re: Stimulsoft Reports.Net (2012.2) Hierarchical Band
Hi,
sending xml and xsd.
Kind regards, Dan Dusek
sending xml and xsd.
Kind regards, Dan Dusek
- Attachments
-
- rep1.zip
- (2.85 KiB) Downloaded 197 times
Re: Stimulsoft Reports.Net (2012.2) Hierarchical Band
Hello.
Please, set the Sort property of the HierarchicalBand to IsEqual.
Thank you.
Please, set the Sort property of the HierarchicalBand to IsEqual.
Thank you.
Re: Stimulsoft Reports.Net (2012.2) Hierarchical Band
Hi,
good idea to sort according to IsEqual, so the changed values would be at the very top, but it does not let the items without children apper first. Ok, now I sorted according 'Description' and it looks well, I'll let it be sorted this way.
And what about the collapsing functionality? Would it be possible to make it working when report resides on aspx page?
Thank you!
Kind regard, Dan Dusek
good idea to sort according to IsEqual, so the changed values would be at the very top, but it does not let the items without children apper first. Ok, now I sorted according 'Description' and it looks well, I'll let it be sorted this way.
And what about the collapsing functionality? Would it be possible to make it working when report resides on aspx page?
Thank you!
Kind regard, Dan Dusek
Re: Stimulsoft Reports.Net (2012.2) Hierarchical Band
Hello.
Could you specify how do you place the report on the aspx page?
Thank you.
Could you specify how do you place the report on the aspx page?
Thank you.
Re: Stimulsoft Reports.Net (2012.2) Hierarchical Band
Like this:
... and im code behind then:
Code: Select all
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent" >
<cc1:StiWebViewer ID="StimulsoftWebViewer" runat="server" RenderMode="UseCache" Height="1024" Width="1140" ScrollBarsMode="true"
BorderStyle="None" PageBorderSize="0" ShowDropDownMenu="True" Theme="Office2007Silver" BackColor="White" ToolbarAlignment="Center"
ShowPageShadow="False" ShowPageBorders="False" />
</asp:Content>
Code: Select all
StiReport report = new StiReport();
report.Load(fullpath);
report.RegData(reportData);
StimulsoftWebViewer.Report = report;
Re: Stimulsoft Reports.Net (2012.2) Hierarchical Band
Hello.
Unfortunately, StiWebViewer does not support collapsing.
Thank you.
Unfortunately, StiWebViewer does not support collapsing.
Thank you.