Results 1 to 2 of 2

Thread: Grouping a list using grouper function on the basis of the JSON array name.

  1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    20
    Vote Rating
    0
      0  

    Default Grouping a list using grouper function on the basis of the JSON array name.

    Hi,
    I want to group a list on the basis of the JSON array name.For example:

    {
    "Result": {
    "Data": {
    "Ebooks1": [
    {}
    ],
    "Ebooks2": [
    {}
    ]
    }
    }
    }

    Just an example for the JSON structure.I want to group the list on the basis of "Ebooks1" and "Ebooks2".Is the solution available using grouper function in list or javascript?Please guide me on this.

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,024
    Answers
    3976
    Vote Rating
    1366
      0  

    Default

    The grouping should be a field in the record.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

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