1. #1
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    3
    Vote Rating
    0
    richard.harrison is on a distinguished road

      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,485
    Vote Rating
    135
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      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

Thread Participants: 1