psentosa Posted January 8, 2010 Share Posted January 8, 2010 Hi all. the following problem:I have a table, which consists of several columns.One of the columns should contain names of employee. As usual, some names are longer than the others. And instead of letting a longer name printed in several lines (by activating the option "Strecth with overflow") I'd like to have the name cutted as soon as it reaches the width of the column.I could somehow do this in java by calling the substring method on the source string to limit the name, but then you would get another problem, that in case a name consists of many "wide" letters (such as m and w), it'll need more spaces, and eventually be longer than the column too, and won't be printed at all.would be very thankful for any hints (really need this urgently) :)regards Link to comment Share on other sites More sharing options...
svenn Posted January 8, 2010 Share Posted January 8, 2010 You could unselect the property. That would cause your field to be cut. Link to comment Share on other sites More sharing options...
psentosa Posted January 9, 2010 Author Share Posted January 9, 2010 Do you mind explaining which property should I unselect?Thanks Link to comment Share on other sites More sharing options...
svenn Posted January 11, 2010 Share Posted January 11, 2010 Unselect "Strech With Overflow". Your field value will then be trucated when it reaches the field lenght that you have defined. Link to comment Share on other sites More sharing options...
psentosa Posted January 12, 2010 Author Share Posted January 12, 2010 Sorry, maybe I forgot to explicitly mention this,I don't want to strecth my row/column, that's why I wanted it cutted by the length of the column, thanks anyway for your reply. But maybe antoher idea?regards Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now