Problem on row click after sorting of column
Problem on row click after sorting of column
Hi ,
I have a table , it's rows are clickable and columns are sortable .
If i sort columns and then click row then row click function call again and again .
Can you please help to solve this problem . My Code is
"fnDrawCallback": function(oSettings ) {
$('#failedTestcaseTable tbody tr').click( function(){
rowData = failedTestcaseTable.fnGetData( this );
if(rowData != null){
brandName=rowData.brandName;
func();
}
});
},
I have a table , it's rows are clickable and columns are sortable .
If i sort columns and then click row then row click function call again and again .
Can you please help to solve this problem . My Code is
"fnDrawCallback": function(oSettings ) {
$('#failedTestcaseTable tbody tr').click( function(){
rowData = failedTestcaseTable.fnGetData( this );
if(rowData != null){
brandName=rowData.brandName;
func();
}
});
},
This discussion has been closed.