Hello, in my case I have a table created with editable grid which contains a hierarchy.
My problem is that I should indent this table with spaces and not with dots as in the given example, but I don't know how.
To obtain that array with dots I have a small rule with return an array with N dots, but if I try with " ", the result will be also " ".
Example 1: nr=5 -> concat(repeat(ri!nr,".")) -> "....."
Example 2: nr=5 ->concat(repeat(ri!nr," ")) -> " ", what I want is " ".
Can you help me? Even with another variant than the one I had?
Discussion posts and replies are publicly visible
You are missing space inside inveted commas " ". Instead of using " " use unicode char(32).
I've already tried it and the result is similar
did you check with repeat(ri!nr,char(32))?
Hello dragosr3134 Try using joinarray(repeat(ri!nr,char(160)))
a!richTextDisplayField( labelPosition: "COLLAPSED", value: "ABC" & joinarray(repeat(times: 100, input: char(160))) & "DEF" )
It's working fine . ri!nr does it getting a value??
Thanks, I tried your version and it works.
I didn't have the initial value, I just wanted to return the string with empty spaces, but in your case your version is good too, thanks a lot.
Good to know.