Skip to Content
avatar image
Former Member

Table Binding problem


I have a form which contains some details like amt payee accnt no etc. When i enter these details and click on the button Add new the values are added to a table control. But if i want to enter a new set of values in the same session i want those new values to get appended to the table control. As of now the current row is overwritten and only one record is seen on the table control. Any suggestion would be of great help.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 30, 2004 at 02:51 PM

    Hi Ravi,

    assuming the node containing the attributes you mention is node A, then you add a new (initial) element like:

    IAElement el = wdContext.nodeA().createAElement();

    If you use bind() instead, all previous elements will be "lost" and replaced by the single new one.

    Hope that helps.



    Add comment
    10|10000 characters needed characters exceeded