2 Replies Latest reply on Mar 17, 2009 4:00 AM by (Joaquin_Zarasul)

    [JS CS3] Tab Stops in Table

      Below is a function that would delete all existing tab stops in a column and the add a new tab stop.

      function TabStopper (myPosition, xx){
      myTable.columns.item(xx).cells.everyItem().texts[0].tabStops.everyItem().remove();
      myTable.columns.item(xx).cells.everyItem().texts[0].tabStops.add({position:myPosition, alignment:TabStopAlignment.CHARACTER_ALIGN, alignmentCharacter:")"});
      }

      The problem is that this works well with CS2 but not with CS3. In CS3, only the tab stops in the last cell of the selected column are removed. Can anybody please help analyze what the problem is. Thank you so much.