fngetdata example question

fngetdata example question

leokormaleokorma Posts: 7Questions: 0Answers: 0
edited November 2010 in General
Hi, i was checking the examples in the web and i found that fnGetData and fnGetPosition examples are quite similar but they are different in line 7 where one use "this" as argument and the other use "aPos[0]".

Is it working similar in any way or is it a typo?

Thank you.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    The first parameter of fnGetData ( http://datatables.net/api#fnGetData ) allows you to pass in either a node (i.e. this) or a position integer (from fnGetPosition). The examples just show how you could use either option.

    Allan
This discussion has been closed.