Issue with scroller and search

Issue with scroller and search

beginner_beginner_ Posts: 55Questions: 2Answers: 0
edited November 2011 in Bug reports
Hi,

I'm using the scroller and intialize the table with ""sDom": "frtiS",".

The issue I have is when using the default search box to filter and then scroll to the bottom an error happens and then I must do soemthing like sort the table or anything else or additional errors occurs.

The initial error caused by scrolling to bottom in "filtered state":
[quote]
k is undefined
C(a=l { oInstance=[1], sInstance="cultures", more...})jquery....min.js (line 58)
fn()Scroller.min.js (line 23)
fn()Scroller.min.js (line 20)
handle(c=Object { originalEvent=Event scroll, type="scroll", more...})jquery-1.6.2.js (line 17)
f(a=scroll )jquery-1.6.2.js (line 16)
[Break On This Error] a.iInitDisplayStart:a.iInitDisplayStar...sStripClasses[f%b];if(k._sRowStripe!=
[/quote]

I have some additional jquery stuff on the page that makes use of data from the selected row. Selecting a different row then leads to this error:
[quote]
a.aoData[a.aiDisplay[c]] is undefined
U(a=l { oInstance=[1], sInstance="cultures", more...}, b=tr.odd)jquery....min.js (line 100)
fnClose(a=tr.odd, b=undefined)jquery....min.js (line 126)
(?)(event=Object { originalEvent=Event click, type="click", more...})cultures.php (line 81)
handle(c=Object { originalEvent=Event click, type="click", more...})jquery-1.6.2.js (line 17)
f(a=click clientX=467, clientY=271)jquery-1.6.2.js (line 16)
[Break On This Error] true&&c++;if(d==b)return a.aoColumns[d...._iDisplayLength>a.aiDisplay.length||
jquery....min.js (line 100)
[/quote]

Replies

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    Can you possibly post a link to your example or post it up on http://live.datatables.net please? Also to check - are you using the nightly version of Scroller (available on the downloads page)? There are a couple of fixes which are available in the nightly, although this issue doesn't ring any bells I'm afraid.

    Allan
  • beginner_beginner_ Posts: 55Questions: 2Answers: 0
    Hi Allan,

    File says it's version 1.0.0. But guess what? It works now. And I can't reproduce it myself. Maybe it also depends on the filter term? I also added a column but can't see how that should have an effect. Anyway I think this can be closed since I can't reproduce it anymore.
This discussion has been closed.