Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35379

Table.row() is not a function

$
0
0

Hello I am a beginner to datatables. I think it is a simple solution :-)

I want to highlight a row programmatically with the rowIndex. So I found the example http://datatables.net/reference/type/row-selector

var table = $('#example').DataTable(); var data = table.row( 0 ).data();

But If I put this inside my code I always get the error "Type error table.row() is not a function

What is the problem?

thanks a lot hans


Viewing all articles
Browse latest Browse all 35379