Vishal Vishal - 1 year ago 65 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?

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download