callback="plusone_vote"

Building dynamic tables

Posted in: - Nov 30, 2010 5 Comments

This example works through the steps in building a dynamic table. It includes screen shots and scripts that are necessary. It also shows how to organise your objects into flowed and positioned subforms.

Download: Assure Dynamics Building dynamic tables

5 Responses to “Building dynamic tables”

  1. Reply Jon says:

    This is one of the coolest examples! Thanks for creating it.

  2. Reply Srinivas says:

    This is very useful, knowledge sharing, helpful web site

    Hi Neil, This is Srinivas, usulally, posts questions in the adobe LC designer forum

    Thank you for creating it

    Srinivas,

  3. Reply NIKOS says:

    Excellent!!!!
    I had spent a lot of time trying to find what I found here.
    Good job!
    Thanks

  4. Reply Name says:

    Hi, Niall

    I am using your script below for a button on click event, to move data from a row to another row.
    AllSub subform includes 2 subforms(SubformA and SubformB).

    Is it possible to move the data from SubformB only, SubformA data must remain the same as is!

    The script below moves data from both Subforms.

    Thank you

    var nIndex =AllSub.index;

    if ((nIndex + 1) < _AllSub.count)

    {

    var nIndexFrom = nIndex;

    var nIndexTo = nIndex + 1;

    _AllSub.moveInstance(nIndexFrom, nIndexTo);

    }

    else

    {

    xfa.host.beep("3");

    this.caption.font.fill.color.value = "255,0,0";

    • Reply NiallODonovan says:

      Hi,

      The issue is that the moveInstance() method will move the particular instance of the repeating object (AllSub). All of the contents of that instance of AllSub will be moved, including SubformA AND SubformB.

      The only option would be to set SubFormA and SubformB to be the repeating instances.

      Good luck,

      Niall

Leave a Reply