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

Wrapping of Text in the Table UIElement

Hi

Is it possible to wrap the text in the header of a Table UIElement.Whenever a column heading is created it keeps extending on one single line. Any suggestions.

ravi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2004 at 08:05 AM

    Please give a try with one of the following options..

    A similar post is also available at

    Newline in WDTextView

    <u>Option 1</u>

    1.Set the layout property of the UI element container to be GridLayout or MatrixLayout.

    2.Enable the "wrapping" property of Label or TextView to "true"

    3.Set the "width" property of the UI Element's(label/TV) Layout data to <integer>px [eg: 100px]

    3.Build and Deploy

    <u>Option 2</u>

    This option is only applicable for Labels. But for any Layout.

    1.Set the "width" property of the UI Element(label/TV) to <integer>px [eg: 100px]

    2.Enable the "wrapping" property of Label or TextView to "true"

    3.Build and Deploy

    Thanks and Regards,

    Sam Mathew

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2004 at 09:52 AM

    Hi Ravi,

    the only available UI element for a table column header (see IWDTableColumn) is a caption (see IWDCaption). Forget about TextViews or Labels, you simply can't use them here.

    A caption does not support wrapping or line breaks yet, so there's no possibility to get multiline headers.

    The table column will always be wide enough to display the header text in one single line.

    Hope that helps.

    Regards

    Stefan

    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.