Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2515
Grouping for igCombo doesn sort child items
posted

I have an igCombo control. The datasource contains 2 groups of data. The data is pre-sorted by the desired order I want to view the data in the dropdown.

Based upon the dir option (I'm using "asc") for "grouping", the groups are ordered correctly when viewing the dropdown.

However, the items in each group are not sorted correctly. Most of the items are sorted, but a few a completely out of order. If I switch dir to "desc", the groups are correctly order and the items in each group appear to be sorted in descending order, but a few items are still in the wrong location. For example, if dir = "asc", I might get the following in the dropdown.

How do I ensure that the children within each group are also ordered? I have no problem when I don't using grouping

Cities

    Chicago

    Anaheim

    Dallas

    Miami

    St. Louis

People

    Ann

    Bob

    Tom

    Carol

    Peter