theme and fnGetSelected

theme and fnGetSelected

asaasa Posts: 20Questions: 0Answers: 0
edited October 2009 in Bug reports
i try this code
/* Add a click handler to the rows - this could be used as a callback */
$("#example tbody").click(function(event) {
$(oTable.fnSettings().aoData).each(function (){

/* Add a click handler for the delete row */
$('#delT1').click( function() {

var anSelected = fnGetSelected( oTable );

var iRow = oTable.fnGetPosition( anSelected[0] );
var aData=oTable.fnGetData(iRow);
var x=aData[0];

} );
$.getJSON( 'testjson.jsp', null, function( json ) {

oTable= $('#example').dataTable(json); });

but it give me an error to this line
[code] var iRow = oTable.fnGetPosition( anSelected[0] );[code]
i think maybe this related to the theme i used ?


This discussion has been closed.