Add row and return/get your index

Add row and return/get your index

kindaskindas Posts: 1Questions: 1Answers: 0

Hi guys i need get index when i add row in my table like this:

table.row.add([client.name, "<a title='Delete' onclick=\"delete('" + client.id + "," + thisROW.index +" ');\">Delete</a>"]).draw();

when i click in this link.. I will remove this item in server and i need remove in the table too, but i dont know your index!

I appreciate any type of help

This discussion has been closed.