I need to create background as yellow while selecting the gear icon for the menu in the table row, I have tried the below code for highlighting the table row
var view = Core.view.Menu.create({
model: model,
menuContext: { lmdd: lmdd },
anchor: this.$(),
highlight: this.$().parents('tr:first')
});
view.show();
In that lmdd is a java service, it will show the menu list while click on the gear icon. By using the highlight only I need to do this operation.
Please suggest answers from this standpoint. thanks in advance.
Aucun commentaire:
Enregistrer un commentaire