help

help

AdelEssamAdelEssam Posts: 1Questions: 1Answers: 0

hi allan
thanks for this plugin , but I have one question , I'm trying to g fill table from database using java servlet ,jsp and java script .
but I get no thing
note that I'm trying this with this function in js after filling table from database
var table =$('#example').DataTable();
console.log(table.row(0));
$('#example tbody').on('click', 'tr', function () {
var data = table.row( 0 ).data();
alert( 'You clicked on '+data+'\'s row' );

Answers

This discussion has been closed.