Hi.<br />
<br />
I'm trying to indent a data element based on the length of the data, but BIRT is trimming the whitespace before it renders. If I add something to the beginning, it works fine. But if it's just whitespace, it doesn't work. Is it possible to do this? <br />
<br />
Here is my code:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>var label = '';
for(i = 0; i < row["step_path"].length; i++) {
label += ' ';
}
label += row["step_path"];
label;</pre>
<br />
I saw this post trying to do the same thing:<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/org/forum/index.php/topic/15101-inserting-spaces-at-the-beginning-of-a-data-element/page__s__3adf3aaf1d338afda157353d1999eecb'>http://www.birt-exchange.org/org/forum/index.php/topic/15101-inserting-spaces-at-the-beginning-of-a-data-element/page__s__3adf3aaf1d338afda157353d1999eecb</a><br />
<br />
but the solution doesn't seem to be working. I'm using 3.7.2.<br />
<br />
Thanks.