Hyperlink event to delete row
Hyperlink event to delete row
bubuzzz
Posts: 26Questions: 0Answers: 0
Dear all,
I trying to make the delete hyperlink on each row on the datatable to dynamically delete a row on the table and post back to the server. The click event works very fine. However, the row is still there. The following code is what i have done so far
[code]
var giRedraw = false;
function fnGetSelected( oTableLocal )
{
var aReturn = new Array();
var aTrs = oTableLocal.fnGetNodes();
for ( var i=0 ; i
I trying to make the delete hyperlink on each row on the datatable to dynamically delete a row on the table and post back to the server. The click event works very fine. However, the row is still there. The following code is what i have done so far
[code]
var giRedraw = false;
function fnGetSelected( oTableLocal )
{
var aReturn = new Array();
var aTrs = oTableLocal.fnGetNodes();
for ( var i=0 ; i
This discussion has been closed.
Replies
[code]var anSelected = $jq16.fn.fnGetSelected(this);[/code]
can work now, however, oTable.fnDeleteRow(anSelected[0]) still cannot work
Allan
Allan
I also have a server side implementation with a link to delete a row. I'm calling fnDraw() like you mentioned, but if I'm on page 2, then the grid just resets and goes back to page 1. Is there anyway to stay on the same page after calling fnDraw()?