control configuration :
var auStatus = [{ status: 'Fav' }, { status: 'UnFav' }, { status: 'Neutral' }, { status: 'Unknown' } ]
$("#comboAuStatus").igCombo({ valueKey: 'status', textKey: 'status', selectionChanged: function (evt, ui) { auditVM.OneAuditData.Status(ui.items[0].value); } });
what to add to selectionChanged event if e.g. when ui.items[0].value == 'UnFav' background color of the control is changing to red..
as separate question : how to make background color on the drop down for the 'UnFav' red too..
Make sure that the answer is compatible with 13.2 .. I am not upgrading in this project.
Thanks.
Hello,
You are welcome.
I'm glad to hear that all it works for you.
If you need further assistance, please feel free to contact us.
Thanks, works like a charm...
I modified the sample with 13.2 version. Sample showing how to change igCombo background color when onSelectionChanged is fired, and when the dropdown is opened, based on the item index change its color.
If you have further questions, please feel free to contact us.
I am not sure about your clarification : the version is not marked as EXPIRED yet on the link that you provided, even if it is you probably
can use 14.1 for the same, also it is completely pointless to advise me to upgrade.
Thank you for your post.
I want to clarify that this version is not supported.
You can see our product lifecycle here: http://es.infragistics.com/support/product-lifecycle.
My advice to you is to update to the latest version and try to reproduce my sample again.