Passing Data between Datatable row and code behind ASP.net

Passing Data between Datatable row and code behind ASP.net

crossroadscrossroads Posts: 1Questions: 0Answers: 0
edited July 2013 in DataTables 1.8
Thank you in advance for any help provided.

I have a web page (.aspx) where I am using the datatable plug in to display data I want to get information passed on selected row and row data to my code bind.
[code] $('#example').dataTable(
{
"oLanguage": { "sSearch": "Search" },
"bAutoWidth": false,
"iDisplayLength": 10,
"aaSorting": [],
"aoColumns":
[
{ "sWidth": "0%" },
{ "sWidth": "5%" },
{ "sWidth": "5%" }
],
"fnInitComplete": function (oSettings) {
oTable = $('#example').dataTable();
oTable.$('tr').click(function () {
var data = oTable.fnGetData(this);
if (data != null) {

if ($(this).is(':selected')) {
$('#example tbody tr').removeClass('row_selected');
}
else {
$(this).toggleClass('row_selected');
}
}
});
},
"fnDrawCallback": function () {
$("#results").show();
}
});
[/code]

The above is code i am working with. Thanks
This discussion has been closed.