Search Type: Posts; User: GregXII

Search: Search took 0.02 seconds.

  1. Replies
    37
    Views
    10,238
    OK, for those having trouble getting this to work, here's my set-up. I've included stevil's fix too, for good measure. ;)


    Ext.onReady(function(){

    Ext.define('User', {
    extend:...
  2. Replies
    37
    Views
    10,238
    new, this is happening because guaranteeRange IS a load action! When you call guaranteeRange, it enters the load event, and calls guaranteeRange again, and again, and again, etc.

    Instead of...
  3. Replies
    37
    Views
    10,238
    In the meantime, this override might help:


    Ext.override(Ext.data.Store, {
    onGuaranteedRange: function() {
    var me = this,
    ...
  4. Replies
    37
    Views
    10,238
    Hm, you're right. With an empty set, you get this error: "Start (0) was greater than end (-1)". Shouldn't be too hard to work around though.

    Otherwise, if you have even one row in the set, it...
  5. Replies
    37
    Views
    10,238
    It configured properly, it should not generate an error, even if the range is not fulfilled. Just make the initial call something like "store.guaranteeRange(0, store.pageSize - 1)", The scroller...
Results 1 to 5 of 5