I was wondering what the difference is between these two calls? fnGetNodes() returns all rows and so does fnGetData(). What is the difference then?
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- jQuery add and remove delay
- Include empty value fields in jQuery .serialize()
- Disable Browser onUnload on certain links?
- how to get selected text from iframe with javascri
Interesting.
This is what we should do to access all rows using fnGetNodes()
Using fnGetData()
I think it's more of functionality where specific and complex row and column operations can be done using fnGetNodes and for more generic operations fnGetData is used.
fnGetNodes()
returns a list oftr
elements that have been generated. If you are usingdeferRender: true
fnGetNodes() will only return rows from pages that have been visited.fnGetData()
on the other hand returns the array of objectsaoData
that contains all rows of data (but not the tr elements).