How to add row in middle of datatable?

How to add row in middle of datatable?

LathaLatha Posts: 1Questions: 0Answers: 0

My recuirement is when user clicks checkbox in the row, on button click I want to get the data of selected row and create a new row next to seleted row.
EXample:

1 A B
2 C D
3 E F
4 G H

If user selects row 3, row 4 should be added with same content.

1 A B
2 C D
3 E F
4 E F
5 G H

I can get the content using GetData, but my problem is adding row in the middle.

Anyone Please help me in this issue.

Thanks in advance.

Regards,
Latha

This discussion has been closed.