Skip to Content
avatar image
Former Member

Table control using webdynpro 7.3 SP05


I have an issue while using the Table control.

I have created Table control and added few columns in which few records are displayed dynamically while loading the screen.

By defult one empty Row is displayed and then other records are displayed. if i select any record in the table control table header values are changed.

I do not want any such changes to be done and there should be no empty Rows displayed.



1) If select the Cardinality as 0..n it throwing an error so i had to select 1...n

Please suggest the way forward :



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 19, 2013 at 10:36 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Sep 19, 2013 at 10:49 AM

    The table cardinality by default is set to 0..n.

    By changing to 1..n you create an empty element and hence an empty row in the table.

    Retain it as 0..n

    When you load the table with data, you must be doing it from some model node/node with data.

    Use a for loop and loop through the node with data.

    In each iteration, create an element of the type of the table node.

    Set the values to the element.

    Then, add the element to the same node. Do not bind the element to node but add it.

    Now, the table should display the data without an empty row.

    Tip: Also, ensure that before you start loading the data into table node, invalidate the table node. Generally, on repeated operations, the table node gets appended with new data instead or replacing the old data.



    Add comment
    10|10000 characters needed characters exceeded