[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.birt] Re: How to avoid line break if data is too long

Guener,

You need to do two things for HTML.

1 - set fixed layout instead of auto layout in general properties for the report.

2 - Apply style to element that has the Text Block whitespace property set to no wrapping.


If this is for PDF you will need to use substring like:

dataSetRow["PRODUCTDESCRIPTION"].substr(0, 10);


Jason

Guenter wrote:
Hi,

I have set up a table with fixed column widths. If the data for one of the columns is too long, I get a line break and the data is displayed in a second line. How can I avoid this? What I want to achieve is to print as much of the data as fits into one line of the column and just ignore the rest. How can I do that?

Thanks for your help!

Best regards,
Günter