Search found 6 matches
- Tue Dec 05, 2023 11:18 am
- Forum: Stimulsoft Reports.NET
- Topic: StiReport Custom function is not working properly
- Replies: 11
- Views: 5709
Re: StiReport Custom function is not working properly
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: https://forum.stimulsoft.com/viewtopic.php?t=38078 The OP also mentioned about adding custom sorting funct...
- Tue Dec 05, 2023 11:14 am
- Forum: Stimulsoft Reports.NET
- Topic: StiReport Custom function is not working properly
- Replies: 11
- Views: 5709
Re: StiReport Custom function is not working properly
I don't think, you can use a function for sorting this way. Sort picks the current value for each datarow and your function(method) is called for each instance and the results of each instance will be compared. So I would propose to create a custom class/struct containing the numeric and non-numeri...
- Tue Dec 05, 2023 11:12 am
- Forum: Stimulsoft Reports.NET
- Topic: StiReport Custom function is not working properly
- Replies: 11
- Views: 5709
Re: StiReport Custom function is not working properly
Thank you, I appreciate your responses.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.
- Mon Dec 04, 2023 9:07 am
- Forum: Stimulsoft Reports.NET
- Topic: StiReport Custom function is not working properly
- Replies: 11
- Views: 5709
Re: StiReport Custom function is not working properly
Hello, Your function returns the full data result set. But for Sotring, only one value is needed. In your case, you can sort your data source and provide to report with the RegData() method. Thank you. Hi, thank you for answering. I'm still new to Stimulsoft. So might I ask, is it possible to do th...
- Mon Nov 27, 2023 8:04 am
- Forum: Stimulsoft Reports.NET
- Topic: StiReport Custom function is not working properly
- Replies: 11
- Views: 5709
Re: StiReport Custom function is not working properly
Hi, here is the sample report. The way that I invoke the custom sort function is the same as my real report. Let me know if you need more information.Lech Kulikowski wrote: ↑Fri Nov 24, 2023 12:19 am Hello,
Please send us a sample that reproduces the issue for analysis.
Thank you.
- Thu Nov 23, 2023 2:17 pm
- Forum: Stimulsoft Reports.NET
- Topic: StiReport Custom function is not working properly
- Replies: 11
- Views: 5709
StiReport Custom function is not working properly
I have a datatable where the column that I have to sort contains both numeric values and string. I've implemented a custom sorting logic to put all numeric values on top and sort them ascendingly, then non-numeric values to bottom as sort them alphabetically. My function worked just fine as I tried ...