Designer: always sorts Dictionary Variables

Stimulsoft Reports.NET discussion
Chris42
Posts: 27
Joined: Fri Aug 18, 2017 5:50 pm

Designer: always sorts Dictionary Variables

Post by Chris42 »

Hi,

I noticed a change with the last release of the designer 2017.2.3: all the dictionary items appear now to be sorted alphabetically, even though the gearwheel setting (which I didn't notice existed before) is set to 'No Sorting'.

Is this intentional? Is there a way to turn off the automatic sorting?

The designer still allows the Variables to be dragged to obtain the desired order but on editing any Variable or re-opening once saved causes the order to be re-sorted.

The main issue is that any Variables presented to the user when running the report ('Request from User' property ticked) follow the order in the dictionary and so cannot be set in the desired order (the order that makes most sense to the user), other than by renaming the Variable Names. Or is there some other way to define the order presented in the viewer?

Thanks,
Chris
Attachments
VariableSorting.png
VariableSorting.png (35.52 KiB) Viewed 4149 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Designer: always sorts Dictionary Variables

Post by Alex K. »

Hello,

Thank you for the detailed description.
We need some time to investigate the issue.

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Designer: always sorts Dictionary Variables

Post by Alex K. »

Hello,

The issue is fixed. The fix will be available in the next release.

Thank you.
Chris42
Posts: 27
Joined: Fri Aug 18, 2017 5:50 pm

Re: Designer: always sorts Dictionary Variables

Post by Chris42 »

Great, thanks :-)
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Designer: always sorts Dictionary Variables

Post by Alex K. »

Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.
ianwelsh
Posts: 19
Joined: Mon Sep 25, 2017 1:54 pm

Re: Designer: always sorts Dictionary Variables

Post by ianwelsh »

When will the new version be released? Or the one with this fix/update?
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Designer: always sorts Dictionary Variables

Post by HighAley »

Hello.

Our new build should be available in a few days.

Thank you.
Chris42
Posts: 27
Joined: Fri Aug 18, 2017 5:50 pm

Re: Designer: always sorts Dictionary Variables

Post by Chris42 »

Hi,

This doesn't appear to have been fixed in 2017.2.4. Do you know if it will be in the next release?

Thanks,
Chris
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Designer: always sorts Dictionary Variables

Post by HighAley »

Hello, Chris.

Please, check the sorting option of the Dictionary.
It should be set to No Sorting.

Thank you.
Chris42
Posts: 27
Joined: Fri Aug 18, 2017 5:50 pm

Re: Designer: always sorts Dictionary Variables

Post by Chris42 »

Hi,

I've just tried again and it's still not working for me. I want to have the order Param 4, 3, 2, 1 (left-hand pic) but saving and re-opening sorts ascending. The option is set to No Sorting.

Changing the option to Descending sorts as expected. Changing the option back to No Sorting immediately re-sorts to ascending. I'd have expected it to have no effect on the current order, leaving them in descending order in this case.

Using v2017.2.2, provided the option doesn't have 'Auto Sort' selected then things stay in the required order (Ascending or Descending may be selected) as expected.

Cheers,
Chris
Attachments
ReportVarOrder.mrt
(3.14 KiB) Downloaded 314 times
VariableSorting2.png
VariableSorting2.png (31.21 KiB) Viewed 4048 times
Post Reply