This content has been marked as final.
Show 3 replies
-
-
2. Re: Birt Report Creation
Rakesh Jajper May 21, 2014 12:42 PM (in response to Laurent Matheo)1 of 1 people found this helpfulAmong all threads on that forum this works for me:
YOURFIELD -> Replace this with Your field
function wrap(longStr,width){
length = longStr.length;
if(length <= width)
return longStr;
return (longStr.substring(0, width) + "\n" +
wrap(longStr.substring(width, length), width));
}
wrap( dataSetRow["YOURFIELD"], 50 );
-
3. Re: Birt Report Creation
Laurent MatheoMay 21, 2014 12:56 PM (in response to Rakesh Jajper)
Cool
Thanks for the feedback
It's strange they didn't think about it natively...