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,
Thank you for your post.
I made an sample for you that showing how to change color for current item, how to change color for all items in the combo and how to change color to the igCombo textInput.
You can find the attachment below.
If you need further assistance, please feel free to contact us.
Unfortunately it is not going to work for me.. I am on 13.2.. some methods that you are listed are not there... I am not upgrading,
If you can please show 1. during selectionChanged how to change background of the combo box input area ( what you would see after drop down is closed)
2. How to assign different background colors to the dropdown items based on their values upfront , i.e. when you open drop down all items color coded already
Please use 13.2 methodology. Thanks