Quick Sort --> Inverted Hierarchy
Quick Sort --> Inverted Hierarchy
After Quicksort Invert Hierarchy I change few sort order changes using the custom order --> set Element Order it works fine.
but when i click the expand + or collapse - button all the orders or reset to its default order. How to fix It?.
2 replies
-
You are correct in identifying this behaviour. It is operating as designed. As you expand or collapse the hierarchy, Pyramid re-queries the data and it returns the default ordering.
Custom ordering in this scenario is primarily designed to change the layout / order for financial reporting type scenarios, where the order of the accounts and display is relatively static in its use.
There isn't a way to "fix" this dynamically, it is what it is.
If alternate ordering on inverted hierarches is required to be persistent, then the best way to do this is to create alternate hierarchies in the model using the required ordering of the elements.
Hope that helps,
Ian
-
Hi Macdonald, Thanks for the quick response.