2 Replies Latest reply on Jul 7, 2014 6:03 AM by aiyaly

    Table : resize rows proportionally

    aiyaly

      Hello,

       

      I am new in javascript indesign. I want to resize rows proportionally in my table, but it seems that when I divided all my rows by 5 for example, all my rows will have the same size even if at the beginning i had some rows bigger than the other rows. I don't if i am clear.

       

      for (var k = 0; k < textframe.tables[j].rows.length; k++)

      {

                textframe.tables[j].rows[k].height/=5;

        }

       

      thank you for your help.