I need to create background as yellow while selecting the gear icon for the menu option in the table row, I have tried the below code for highlighting the table row,
var view = Core.view.Menu.create({
model: model,
menuContext: { ibmm: ibmm },
anchor: this.$(),
highlight: this.$().parents('tr:first').css('background-color','yellow')
});
view.show();
While selecting the menu from the table row, the background color is coming well. But when I move for the next table row, the past table row color is still in yellow color, not getting disappear. Can anybody suggest me code for this. I’m using Ember 1.4.0.
Aucun commentaire:
Enregistrer un commentaire