Sort order in HierarchicalBand
Sort order in HierarchicalBand
Hello,
I am wondering about the sort order of child elements in hierarchical data bands:
is there a way to show child elements in the order they are in the XML-input file?
For me it looks as if they are displayed in random order?!
Thank you
Clemens
I am wondering about the sort order of child elements in hierarchical data bands:
is there a way to show child elements in the order they are in the XML-input file?
For me it looks as if they are displayed in random order?!
Thank you
Clemens
Sort order in HierarchicalBand
Hello,
Sorry, maybe we did not exactly understand your question.
As a way, you can add the additional column for the necessary order sorting.
Thank you.
Sorry, maybe we did not exactly understand your question.
As a way, you can add the additional column for the necessary order sorting.
Thank you.
Sort order in HierarchicalBand
Hello,
the Elements in the XML-file are ordered as
so I expected,that they are displayed in this order, but instead they are ordered as

Clemens
For example in the DokuDemo.xmlSorry, maybe we did not exactly understand your question.
the Elements in the XML-file are ordered as
Code: Select all
Package
UseCase
UseCase 2
UseCase 3
Code: Select all
Package
UseCase 3
UseCase
UseCase 2
that's not nice , but ok for meAs a way, you can add the additional column for the necessary order sorting.

Clemens
Sort order in HierarchicalBand
Hello,
Please try to set the Sort property for HierarchicalBand1 component.
Thank you.
Please try to set the Sort property for HierarchicalBand1 component.
Thank you.
- Attachments
-
- 1936.Screen.PNG (23.76 KiB) Viewed 5311 times
Sort order in HierarchicalBand
Hello
and how can I set the sort order "Sort by order", if it is not allreadyset?
Thank you
and how can I set the sort order "Sort by order", if it is not allreadyset?
Thank you
Sort order in HierarchicalBand
Hello all
I used the Id field to sort the entries, but encountered the problem. that the entires are ordered in alpabetical order (i.e. 12 is in front of 2)
I got around this by using the following sort statement
Sort by Order, {"000000000".Substring(0, 5-System.Convert.ToString(ModellElement.ModellElement_Id).Length)+ModellElement.ModellElement_Id}
(only for the case, that somebody else is interesseted in this topic.)
Thank you
Clemens
I used the Id field to sort the entries, but encountered the problem. that the entires are ordered in alpabetical order (i.e. 12 is in front of 2)
I got around this by using the following sort statement
Sort by Order, {"000000000".Substring(0, 5-System.Convert.ToString(ModellElement.ModellElement_Id).Length)+ModellElement.ModellElement_Id}
(only for the case, that somebody else is interesseted in this topic.)
Thank you
Clemens
Sort order in HierarchicalBand
Hello,
Most probably, the Id field is string type and because 12 is in front of 2.
Please send us yor report with test data for analysis.
Thank you.
Most probably, the Id field is string type and because 12 is in front of 2.
Please send us yor report with test data for analysis.
Thank you.
Sort order in HierarchicalBand
Hello
yes the Id field is of type string. (it is the auto-generated key from stimulsoft).
My solution is good enough for me, I only posted it to help anybody having the same problem.
Regards,
Clemens
yes the Id field is of type string. (it is the auto-generated key from stimulsoft).
My solution is good enough for me, I only posted it to help anybody having the same problem.
Regards,
Clemens
Sort order in HierarchicalBand
Hello,
Ok.
Let us know if you need any additional help.
Thank you.
Ok.
Let us know if you need any additional help.
Thank you.