Skip to Content
avatar image
Former Member

Dynamic Table - same data repeating in all rows

Hi Satya,

I am creating the PDF form using WebDynpro java application, and the form should be stored in local disk. The user should be able to fill and save the data in the table at any time.

Note : The table used in PDF form is a dynamic table, an empty row will be added, when ADD button is clicked, the row will be deleted when DELETE button is clicked.

The javascript code udes are,

For adding a row,

xfa.form.PDFDataSource.Subform1.Table1.Row1.instanceManager.addInstance(1);

For deleting a row,

Subform1.Table1.Row1.instanceManager.removeInstance(this.parent.index);

I have done the data binding to the fields of the table. I am able to save the data in local disk.

The problem is, when I click ADD button, a new row is created but with the same data in previous row. even if I create 10 rows, all have same data. If I try to change any data any where in the table, it reflects in all the rows.

Can you give me a solution?

Regards,

Prabhakar.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 10, 2008 at 05:43 AM

    I hope you have reported the same problem in another post.

    and I was under the impression that it is solved.

    Can you please send me the PDF file in my email address p_satya123@yahoo.com?

    I will solve it and let you know the problem.

    Cheers

    Satya

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Prabhakar,

      Can you please send me the PDF? Also I will suggest please close this thread and create a new thread regarding the other problem.

      Cheers

      Satya

  • avatar image
    Former Member
    Jan 29, 2008 at 06:02 AM

    Hi ,

    I am creating a new thread, to continue the discussion. Please [click here|dynamic-tables-in-pdf-repeating-header-row-in-all] to access it.

    Thanks and Reagrds,

    Prabhakar.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      I am very new to Interactive forms.I need some real help from developers.

      My scenario is i am having an Table in PDF Form having dropdown as one column and remaining columns with input fields.

      I am trying to populate the data in dropdown in table using value help drop down list and following code.......

      IModifiableSimpleValueSet regionCenter = wdContext.nodeVn_Activity().getNodeInfo().getAttribute(IPrivateEss_pdfView.IVn_ActivityElement.VA__ACTIVITY ).getModifiableSimpleType().getSVServices().getModifiableSimpleValueSet();

      please suggest me how can i populate the data in table dropdown column.

      please clich the following link for my question

      [Thread|populating Table dropdown column;

      Thanks&Regards,

      Rajesh.

  • avatar image
    Former Member
    Apr 17, 2008 at 01:38 PM

    Hi

    I am also having the same issue as you had. Can you please guide me on the steps to create a dynamic table. I tried the steps mentioned but could not get anywhere. Maybe you can send me a form that is working so that I can see the binding for the table.

    Kind Regards

    Add comment
    10|10000 characters needed characters exceeded