I'm having a hard time figuring out how to get data from a row. Some other table plugins I'm comparing have the ability when you click on a row to get that row's data. Is that possible on this? Right now I'm doing this manual thing:
$table.on('click', 'tr', function () {
var data = [];
$(this).find('td').each(function (i, el) {
data.push($(el).html());
});
console.log(data);
});
I'm having a hard time figuring out how to get data from a row. Some other table plugins I'm comparing have the ability when you click on a row to get that row's data. Is that possible on this? Right now I'm doing this manual thing: