Hi All, I have problem in counting number of rows in a table and giving color to table data in javascript. I'm able to dynamically add rows to html table, but how to count no. of rows in the table after adding rows. Please give a solution to me to add row dynamically and also to count the rows. I'm using insertRow and insertCell methods to add row dynamically in javascript.
inserted.insertRow(string[] data, int index) Use data.length to get the number of rows. As for the color, I am not sure how to do that with insertRow().