Vishal Vishal - 3 months ago 6x Question

Insert a row between two existing rows in a dynamically created column in

I am creating a table dynamically.

Now I add some data to the table from Database.

On Every Row of the table I create a button.

Upto this it works fine.

Now when user clicks on that button I want to add a new row to the table just below the button was clicked. I mean I want to insert a new row between the existing rows.

Any Ideas?


Here Positoion is the variable holding the value where to insert the new row.