Skip to Content
avatar image
Former Member

Table Binding problem

Hi

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.

regards

Ravi

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();
    wdContext.nodeA().addElement(el);

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

    Hope that helps.

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded