Page 1 of 1

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

Posted: Thu Aug 01, 2019 1:35 am
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

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

Posted: Mon Aug 05, 2019 8:42 am
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.

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

Posted: Wed Sep 04, 2019 7:10 pm
by Lech Kulikowski
Hello

Please let us know if you need any additional help.

Thank you.