custom function with dynamic parameters

Stimulsoft Reports.JS discussion
Post Reply
grassroot
Posts: 2
Joined: Thu Oct 17, 2019 10:35 am

custom function with dynamic parameters

Post by grassroot »

May I add custom function just like function object Choose(object index,choose1,choose2,...)?
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: custom function with dynamic parameters

Post by HighAley »

Hello.

Yes, you could add the custom function using code from this sample.

Thank you.
grassroot
Posts: 2
Joined: Thu Oct 17, 2019 10:35 am

Re: custom function with dynamic parameters

Post by grassroot »

Thanks ,Alex.

I know how to add a custom function with fixed parameters.

But I don't know how to add a custom function with variable parameters,just like the Choose function in Report!
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: custom function with dynamic parameters

Post by Lech Kulikowski »

Hello,

Please try to check the following discussion:
https://stackoverflow.com/questions/214 ... o-function

Thank you.
Post Reply