in my report there is a grid with two colums, each containig a dynamicText-element. Left column is left-aligned, right-column is right aligned, strings displayed have different lengths. is it possible to add to the strings some kind of padding ( variable amount of "."-chars) so that all whitespace (in both columns) is filled with that dots(and user is lead while reading from left to right side, like you see it in a table of contents in a book or something like that)
to illustrate what i want to do:
(in other words: how can i access the length of the textcontaining element (and the length the data string will take) in the onrender-script(or other) and attach that many '.' that it is exactly filled up)
thats the way i want it to behave, but without that hardcoded 6. strings could be of any length, so the amount of '.' should be dependent on the length of the data string AND the length (horizontal size) of the dynamic text field, or i use an dynamic text field with a string like:
row[leftSide] + dots + row[rightSide]
in both cases i need to know the size of of the (rendered) textfield, to get the need amount of dots to fill up the textfield. is that somehow possible?
Thx Jason, currently your script produces strings which lengths are all equal depending on the longest of them (before getting changed by script). that's a first step, but not what i want it to. e.g. the string containing element (dynamictextfield in a tablecell) spans whole the page (from left to right side), but the string only is 4 charachters long, i want the string to be as long as the containing element, so whole the element (dynamic textfield) is filled with my padding char ('.') behind the original string.