Access TableTools' function fnGetSelected() from outside TableTools
Access TableTools' function fnGetSelected() from outside TableTools
alesnav
Posts: 19Questions: 5Answers: 1
Hello there,
Is there any way to call TableTools' function fnGetSelected() from outside TableTools?
I see that, for example, fnColReorder is accessible by oTable.oApi.fnColReorder, but I can't get access to fnGetSelected.
I've tried:
- oTable.fnGetSelected()
- fnGetSelected(oTable)
- oTable.tabletools().fnGetSelected()
- ...
Any help? :)
Thanks!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Arrrggg, done.
http://www.datatables.net/extensions/tabletools/api#fnGetSelected
Here it is, with an example, sorry.
Anyway, is there any way to do it using the API?
Not quite sure what you mean by "using the API". You just linked to the TableTools API :-).
Edit - Sorry, I've just realised that you meant the DataTables API. Currently no I'm afraid not. however the rewrite of TableTools I'm planning will extend the DataTables API to add
row().select()
and similar methods.Allan