Access TableTools' function fnGetSelected() from outside TableTools

Access TableTools' function fnGetSelected() from outside TableTools

alesnavalesnav 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

Answers

  • alesnavalesnav Posts: 19Questions: 5Answers: 1

    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?

  • allanallan Posts: 63,516Questions: 1Answers: 10,473 Site admin
    edited September 2014 Answer ✓

    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

This discussion has been closed.