Results 1 to 2 of 2

Thread: Store sorting / Adding properties via Designer

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    3
    Vote Rating
    0
      0  

    Default Store sorting / Adding properties via Designer

    To have a store sort locally, it looks like there is a sorters property that you can pass an array to, defining fields and direction. I don't see this as a property in the Designer...is there another way to define a sort locally? Perhaps I misunderstand what to do from a framework standpoint?

    It occurred to me that I can add custom property in the Component Config of the store. However, when I attempted to add sorters I realized that by default, all additions appear to be strings. Is there any way to set up a custom field that is an object/array?

    Still learning this stuff. Many thanks.

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    146
      0  

    Default

    Add the sorter from the toolbox on the left hand side. The order of the sorters in the inspector indicates the order they will be applied in.

    We are making this much more clear in a future release.
    Aaron Conran
    @aconran

Posting Permissions

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