fnFindCellRowNodes does not return rows on pages that have not been displayed.

fnFindCellRowNodes does not return rows on pages that have not been displayed.

deckarddeckard Posts: 6Questions: 0Answers: 0
edited July 2012 in General
Hi, I am using the fnFindCellRowNodes API function. It is working great except that if I search for a node in a row that is on a page that has not been displayed, it is not found.

For example, if my table shows 10 rows at a time, and the item I am searching for is in the 12th row, then it is on page two. When I initially load the table, fnFindCellRowNodes does not find it. If I then view page 2 of the table, fnFindCellRowNodes will find it. If I then go back to page one, fnFindCellRowNodes will still find it on page two.

I am using sAjaxSource to load the data. Please help!

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Are you also using deferred rendering? If so, that will be the problem - deferred rendering doesn't create nodes until they are drawn, and thus there are no nodes other than the displayed page (on the first draw) for the plug-in method to find!

    Allan
  • deckarddeckard Posts: 6Questions: 0Answers: 0
    Yes, I was using deferred rendering and that was the issue. Thank you sir!
This discussion has been closed.