Where DataTables stores the paginated hidden data?

Where DataTables stores the paginated hidden data?

gadlolgadlol Posts: 3Questions: 0Answers: 0
edited August 2013 in DataTables 1.9
Hello I use data tables with pagination and everything works fine.
I want to know where are the trs tds of other pages stored. I cannot find them on the dom as hidden.
So where the DataTables stores the paginated hidden data?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    It stores them in its internal cache. You shouldn't access them directly as they are private properties in the instance. The API method fnGetNodes is available to get hidden nodes. There are also some plug-in methods for getting hidden column nodes.

    Allan
  • gadlolgadlol Posts: 3Questions: 0Answers: 0
    But how to get the hidden nodes from an external site. I want to scrap the data and use them for my app...
    Is it possible?
  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    Do you have the other site's permission to scrape their data?
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Still use the API, but I agree with tangerine - ensure you have permission first.
  • gadlolgadlol Posts: 3Questions: 0Answers: 0
    I do not have the permission. But i just want to do it for fun - personal use...
This discussion has been closed.