Skip to Content
avatar image
Former Member

Re: Web Dynpro Table

Hi All,

In my requirement i have a table which as 10 Input Fields. When i say get data this table fills with values. My question is when table is filled with values

table width increases and it disturbs my layout design. How to control this table width?

Example i have a description field, these field width changes. If description is long my table width also increases can this controlled. Please Explain?

Thanks,

Sandy.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Apr 12, 2012 at 03:26 AM

    Hello,

    Set the table property of fixedTableLayout as true. Also, you can use the description column - textView property of wrapping as true.

    This should ensure that table is fixed and not expanding.

    Regards,

    Sharath

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 16, 2012 at 07:39 AM

    Hi Sandy,

    Hope you are displaying table data in TextViews only. Enable the Wrapping for those textViews and maintain width of those and Table also fixed.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 16, 2012 at 11:36 AM

    Hi,

    You can use Scroll Container to achieve this. Place Scroll container and place your table control in it.

    So when the table is being filled, it only use the width set to the scroll container.

    Or you can use the Width property of the table.

    Set the width of the table and enable fixed layout property of the table, so that the table width can not be changed after filling the data into the table.

    And when the statement

    context_node->bind_table( lt_node ).

    executed, the table is filled with the values.

    Add comment
    10|10000 characters needed characters exceeded