where to download fnGetHiddenNodes.js

where to download fnGetHiddenNodes.js

jc0966jc0966 Posts: 9Questions: 2Answers: 0
edited August 2012 in Plug-ins
I had the same issue as this closed discussion
http://datatables.net/forums/discussion/3077/where-to-download-fngethiddennodes.js/p1


I guess, it's not very clear that one has to
1) create their own file called fnGetHiddenNodes.js
2) copy the code from the documentation plugin-function and use it.

I initially did not find the closed discussion. I thought I had not downloaded something.

This approach could be a problem if the documented function ever changed (due to a bug or other reason).

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    The code is here: http://datatables.net/plug-ins/api#fnGetHiddenNodes and all plug-ins are held in this repo: https://github.com/DataTables/Plugins/tree/master/api .

    You don't need to create a file called fnGetHiddenNodes.js - that's just an example. All you need to do is include the plug-in after DataTables, and before your use DataTables. Personally I tend to concatenate the files all together and run Closure over them.

    Allan
  • jc0966jc0966 Posts: 9Questions: 2Answers: 0
    That's good :-)
    I've just started using this, and may have missed the location of the source code.

    Thanks for your help.
This discussion has been closed.