Skip to Content
avatar image
Former Member

Adding a new row into a table

Hi,

The Table - UI when inserted with child nodes as Input Fields is not permitting me to add another row at runtime.

It shows the rows as enabled in the properties window, but doesn't let me add a row...

Any ways out...?

Regards,

Ranji

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jun 27, 2004 at 04:51 PM

    Could you please be more precise? A Web Dynpro Table UI element does not have child nodes...

    Check if the "dataSource"-property of the table is bound to a view context node X with cardinality 0:N. If you use an InputField as cell editor for a table column, ensure that its "value"-property is bound to an attribute of X.

    At runtime, if you add a node element to X at index i, the table will display it in row #i. If you remove an element of X, the corresponding table row disappears. The lead selection of node X will be the lead selected row of the table.

    Regards, Armin

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 29, 2004 at 01:39 AM

    The runtime behavior is as Armin suggested. If you want to do the mentioned operation, you might require a "Add Row Button" on your view. An alternative is to have blank rows created in the Value node / Model Node before the View is displayed(in the wdModify method or any..)

    Cheers,

    Sam

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 31, 2004 at 02:07 PM

    Hi ,

    I have an similar problem ,ihave checked the cardinality and all,But if i set the number of rows in the init method by using set,but it is not working fine,

    Any tips would be really helpful,

    Regards,

    Atul Sable

    Add comment
    10|10000 characters needed characters exceeded