StiReport Custom function is not working properly

Stimulsoft Reports.NET discussion
PeterQuill
Posts: 6
Joined: Thu Nov 23, 2023 2:14 pm

Re: StiReport Custom function is not working properly

Post by PeterQuill »

Lech Kulikowski wrote: Mon Dec 04, 2023 11:45 pm Hello,

Unfortunately, it is not possible to add sorting with a custom function. You can sort your data source and provide it to the report.

Thank you.
Hi, I used this forum post for reference:
viewtopic.php?t=38078
The OP also mentioned about adding custom sorting function into the report and seems like it was resolved, do you roughly know how it was done?
MatthiasU
Posts: 68
Joined: Mon Sep 14, 2015 8:33 am

Re: StiReport Custom function is not working properly

Post by MatthiasU »

PeterQuill wrote: Tue Dec 05, 2023 11:14 am Hi Matthias, am I able to add the custom Comparer Class into the report and interactively sort it? When clicking in the column header, I'm able to sort it ascendingly and descendingly with my custom sort logic. Or is it only possible for me to run sorting on the column before the report got rendered?
You can use calculated columns for sorting like 'normal' columns (sort property of databand as shown in your first post). But you won't see them in 'View Data'. I don't know what you mean with 'interactively sort'.
Post Reply