Results 1 to 2 of 2

Thread: MoveNext,MoveLast with datastore Object, How?

  1. #1

    Question MoveNext,MoveLast with datastore Object, How?

    Hi
    I have a form populated from a datastore.
    the datastore show the first record int this form
    i want to show the others records in this form by using something like MoveNext, MovePrevious,MoveLast and moveFirst
    can anyone telle me how can i do this with a datastore Object ?

    Thanks for your help

  2. #2
    Sencha User fay's Avatar
    Join Date
    Apr 2007
    Location
    Ireland
    Posts
    1,750

    Default

    Take a look at the documentation for Store (http://extjs.com/deploy/ext/docs/out...ata.Store.html). You'll see methods getAt(index), getCount(), getTotalCount(). You'll have to write your own logic for keeping track of the "current" row number, and routines for incrementing/decrementing it in your own moveNext()/movePrevious().

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •