lundi 2 juin 2014

contextMenu.hide() not working

I have a dataview. In the itemclick handler, I have an IF condition that checks to see if a flag is true. If it is, I want to hide the context menu

itemclickHandler : function(view, rec){

if(rec.data.flag == true){

this.contextMenu.hide();//does not work

this.contextMenu.disable();//works fine

}


thanks





Aucun commentaire:

Enregistrer un commentaire