Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82141

Get current dataTables

$
0
0
Hi,

i use a javascript class, each object can create a datatables (each viewing a different SQL table).
how can i retrieve the current datatables when i select a row ?

i mean :

...
	,"oTableTools": {
				"sRowSelect": "single"
				,"aButtons": [ ]
				,"fnRowSelected": function(node) {
					alert("select id="+node[0].id); // ok, i get the right id
				}
			}
...

where can i store this id ?
"this" isn't the datatables, oTable isn't usable.
i mean something like "context" when using $.ajax()/

Viewing all articles
Browse latest Browse all 82141

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>