Hello,
I wanted to know how do I go about adding rows after a particular row in my datatable. I'm using the jQuery datatables plug-in for this purpose.
I can pass the table row Index. that I need to insert the row to my javascript function, as follows:
function addNewContact(rCount){
..
}
And my HTML code is:
table id="exampleTbl"
tr
td..../td (data of first column)
td..../td (data of second column)
...
td
input type="button" id="addNewContact<%=rCount %>" name="addNewContact_Details" value="+" onclick="javascript:addNewContact(<%=rCount %>);"
/td
/tr
/table
For the newly added row, I want the first 3 columns as blank, and other columns(5) to contain text boxes.