Skip to Content
author's profile photo Former Member
Former Member

Prevent word wrap in smartforms main window.

Hi all

Is there a way to prevent word wrap in the main window in Smartforms. When I output a string in a table in smartforms, and the string is longer than the column, it wraps the rest of the string to the following line. This is nice, and required in most cases. But in my case the user rather has the string broken off than wrapped.

Now it is printed the following way:

Line field1 field2

1 A This is

line 1

2 B text

The user wants it the following way:

Line field1 field2

1 A This is

2 B text

I don't want to set a fixed field lenght to the string because an 'I' for example takes in a lot less space than 'W'..

Thanks

Kind regards

Thierry

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 02, 2012 at 05:53 AM

    Hi Thierry,

    Even we faced the same issues and I have not got the solution. But then we applied a workaround.. We found the approximate characters which would fit in that particular column and without spilling over to next line and we printed only those many characters of that string using offset.. OR you can use a Character field of that much length and pass the contents of that string to this Character field and keep on printing the Char field without Offset..

    Hope this helps !!

    - Harshad

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.