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
450
Sorting and filtering not working based on NAME in igGrid combobox and working based only ID
posted

Hi Team,

In grid, we do have one column which is a dropdown/comboBox and sorting feature to be enabled for that column.

This is the data for dropdown –

northWindCategoriesJSON = [

                { "ID": 0, "Name": "Food" },

                { "ID": 1, "Name": "Beverages" },

                { "ID": 2, "Name": "Electronics" }

            ];

And when we apply sorting, values are sorted by ID (default behavior). But our requirement is we need to sort data based on “Name” in dropdown values.

How can we achieve this? I am attaching a sample file for reference.