Hi,
I read this post about how-to define a custom filter for an igGrid where a column is an igCombo column, and so where the default filter tries to operate with igCombo value nd not with igCombo text.
I would like to have the same behavior on the sorting feature, because, at the moment, when I sort a column I obtain an igCombo value sorting, and not an igCombo text sorting. I read about customSortFunction, but I did not find any examples on it...
Could you provide me a sample or give me some suggestions to implement it?
Thank you very much,
Flavio M.
Hi Flavio,
In the post you mention my last answer has a sample attached to it which works for sorting. It uses unbound column to save the combo text, so the local sorting and filtering work as expected.
Hope this helps,Martin PavlovInfragistics, Inc.
Very sorry Martin,
I was following different samples and I linked the wrong one...This is what I meant:igGridFiltering_combo_multiple_selection_v3
Could you try to download it and tell me if it would be possible to sort the "combo column" not on the base of the binded id, but on the base of the showed values?
Thansk
Try the attached sample and see if it works for you.
Thanks,Martin PavlovInfragistics, Inc.