How about multi-lines text in headers in version 2.0?
I just cannot figure out how..., any advice?
Alex has posted some code I used for this.
The first line sets the test to wrap in each row in the grid.
The second line sets the text in the headers to wrap.
Here is the thing, as far as I can tell, you still have to set the row and header heights to accommodate more than one line. Otherwise, the wrapped text will not be visible.
To set the heights for the header and the row, I used:
obj.setHeaderHeight(34); // accounts for 2 lines in header
obj.setRowHeight(32); // accounts for 2 lines in row
There might be a better way to do this, but as of yet, I haven't figured it out. It would be great if AW has a response code that would tell if a particular row/column wrapped.
Hope this helps.
Thank you very much.
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.