Unlisted string functions in DesignerJS... from C#?

Stimulsoft Reports.JS discussion
Post Reply
rbravoz
Posts: 3
Joined: Sun Jun 16, 2019 1:09 am

Unlisted string functions in DesignerJS... from C#?

Post by rbravoz »

In the JS Designer for Mac I tried to do a filter of DataBand records using the Field is Value, String, Column SalesPerson, containing vName string variable. I tried many many ways of putting the vName filter like {vName}, '{vName}´, vName, "{trim(vVendedor)}", etc. ... and none worked. Finally I managed to make it work by setting the filter to Field is Expression and using:
Sales.SalesPerson.Contains(vName)

Two questions:
1) Is there a correct way to set the filter with the Field is Value? Maybe I am missing something
2) .Contains( ) is not in the function list of the Designer, however it works. Are there many other functions that can be used but that are not in the function list nor documented? Are they C# functions? (remember I am using Designer JS). Where can I find all the usable functions?

Thanks in advance.

Rene
Lech Kulikowski
Posts: 6270
Joined: Tue Mar 20, 2018 5:34 am

Re: Unlisted string functions in DesignerJS... from C#?

Post by Lech Kulikowski »

Hello,

1) Please check the Parameters category on our Demo:
https://demo.stimulsoft.com/

2) In the JS version is available only Interpretation mode, in which all expressions are parsed with our Parser in which added all functions from the dictionary, basic and most used functions, methods from C#, etc

Thank you.
Lech Kulikowski
Posts: 6270
Joined: Tue Mar 20, 2018 5:34 am

Re: Unlisted string functions in DesignerJS... from C#?

Post by Lech Kulikowski »

Hello

Please let us know if you need any additional help.

Thank you.
Post Reply