Search:

Type: Posts; User: GregXII

Search: Search took 0.02 seconds.

  1. Replies
    37
    Views
    12,361

    [INFOREQ] OK, for those having trouble getting this to...

    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
    12,361

    [INFOREQ] new, this is happening because guaranteeRange IS...

    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
    12,361

    [INFOREQ] In the meantime, this override might help: ...

    In the meantime, this override might help:


    Ext.override(Ext.data.Store, {
    onGuaranteedRange: function() {
    var me = this,
    ...
  4. Replies
    37
    Views
    12,361

    [INFOREQ] Hm, you're right. With an empty set, you get this...

    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
    12,361

    [INFOREQ] It configured properly, it should not generate an...

    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