How to get all table rows including hidden

How to get all table rows including hidden

tumbero_xtumbero_x Posts: 63Questions: 0Answers: 0
edited April 2013 in General
Hello to all friends
would need to get all table rows that are hidden including
i was looking in the forum and everyone works with fnGetNodes ()
trying and trying and I can not find the solution, if I do this
alert ($ (oTable.fnGetNodes ()). length)
always returns the number of rows visible and not hidden
where I have to run alert ($ (oTable.fnGetNodes ()). length)?
because from "fnDrawCallback" always gives me the number of visible rows
Greetings and thank you very much for any help you can give me

Replies

  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin
    I would guess that you are using server-side processing, but I don't know for sure as you haven't linked to a test case or a debugger trace: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read .

    If using server-side processing, then the whole point is that it is only the visible rows that actually exists as rows.

    Allan
  • tumbero_xtumbero_x Posts: 63Questions: 0Answers: 0
    Hi Allan Thanks for answering so fast
    My English is not very good and I am using the google and traductos guess you need an example or that's what I understood
    thank you very much
    http://sincroniavirtual.no-ip.org/gestion1/buscar_cte_cliente2.php?proveedor=1
  • tumbero_xtumbero_x Posts: 63Questions: 0Answers: 0
    or else
    http://live.datatables.net/idinat/13/edit#javascript,html
  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin
    Thank you for the link. That confirms that you are using server-side processing.

    As I say, the whole point of using server-side processing is so that you don't have all rows at the client-side, so there is simply no way to get all row nodes, because they don't exist.

    Allan
  • tumbero_xtumbero_x Posts: 63Questions: 0Answers: 0
    Thank perfect I will correct all that
    my problem is that if I do not use server side is delayed several seconds to display the table
    and I need to display more than 14000 rows
    no way to speed this up?
    regards
This discussion has been closed.