rcflyer2005
Technical User
- Sep 24, 2008
- 2
Hi,
I have a 10 column table where it can have 3 to n rows.
For each of the columns, I added id="col"+ column number.
So the id for the columns are col0, col1,col2,.., col9.
How do I traverse col1 and replace the content with the value of my "for loop" counter value? (var i=2;i<noRows,i++). The replacement value would be i-1. Rows 1 and 2 are headers. Data begins in column 3 thru col. I need to renumber the "Line No" column because they are out of sequence due to row add/delete operations.
The image below shows the problem.
Thanks much!
I have a 10 column table where it can have 3 to n rows.
For each of the columns, I added id="col"+ column number.
So the id for the columns are col0, col1,col2,.., col9.
How do I traverse col1 and replace the content with the value of my "for loop" counter value? (var i=2;i<noRows,i++). The replacement value would be i-1. Rows 1 and 2 are headers. Data begins in column 3 thru col. I need to renumber the "Line No" column because they are out of sequence due to row add/delete operations.
The image below shows the problem.
Thanks much!