Is it possible to add valueFormatter function to dagfuns, Because when I added its just considering the whole function as string and displaying the whole function definition as string.
Also, I tried doing it inline function as shown in the docs example, However, this logic is working fine when I tested out this in browser console and pass the params manually but when the similar function logic applied to valueformatter its not working and its only printing the logs. Can someone please help?
I have also tried single line string instead of multi line string as below but this way its only formatting to “N/A” but its not doing other conditions.
This is a good question. My guess is that the string if a little too complex for the function parser to handle. To perform this, I’d suggest adding it to the dagfuncs as a function that you can call and pass the params to.
I did try that , However when I added to dagfuns its displaying the whole function definition as string instead of calling that function and displaying the result of it
Its not formatting to ‘N/A’ and also similar its not formatting -123 to (123) we already have all these kinds of values in the data. Basically all the logic written in the function isnt working at all