... I thought sequence of subreport components in DataBand after theirs selection and setting docking to Top ... not data sorting. Try to select all subreports and set up docking to Top .... sequence will be changed...HighAley wrote:In Group Header you set sort direction. It is necessary for correct grouping. If you need sorting in another sequence you can set it in DataBand.LukasT wrote:Ok... but container is sorting subreports by name... not in original sequence...
No SubReport printing if its DataTable has no rows.
No SubReport printing if its DataTable has no rows.
No SubReport printing if its DataTable has no rows.
Hello, Lukas.
Thank you.
If you need subreports dock in different order, please, change its order in Report Tree. You can do it in Layout menu by pressing Move Backward and Move Forward buttons.LukasT wrote:... I thought sequence of subreport components in DataBand after theirs selection and setting docking to Top ... not data sorting. Try to select all subreports and set up docking to Top .... sequence will be changed...
Thank you.
No SubReport printing if its DataTable has no rows.
.... that is not helpful... we have script which is converting reports from our old (more than 2000 reports) format to stimulsoft format. Subreports were placed in DataBand with absolute top position and that is surprise for me, that stimulsoft is not respecting this order of components. Sorting by name doesn't have sence when components had top position given...
... but what shell I do... I must to do some workaround in the script...
... but what shell I do... I must to do some workaround in the script...
No SubReport printing if its DataTable has no rows.
Hello.
1. You can get a component collection using next code: and then change order of component as you need.
2. You can put each subreport on different Child band.
Sorry for the delay with response.
Thank you.
We can provide to you two way to workaround.LukasT wrote:.... that is not helpful... we have script which is converting reports from our old (more than 2000 reports) format to stimulsoft format. Subreports were placed in DataBand with absolute top position and that is surprise for me, that stimulsoft is not respecting this order of components. Sorting by name doesn't have sence when components had top position given...
... but what shell I do... I must to do some workaround in the script...
1. You can get a component collection using next code:
Code: Select all
StiBand band = report.GetComponentByName("YourBand");
StiComponentCollection components = band.Components;
2. You can put each subreport on different Child band.
Sorry for the delay with response.
Thank you.