I'm not sure this can be done but I was asked if a right click could toggle between two values. And if a double click would toggle between two other values, and left click display the entire dropdown list for selection. Currently my code looks like this;
$(".editable_selectACT").editable("save.php", { // status
data : '{"In":"In","Out":"Out","In-Out":"In-Out","Leave?":"Leave?","Moved":"Moved","BRB":"BRB","Enroute":"Enroute","Assigned":"Assigned","MISSING":"MISSING"}',
type : "select",
placeholder: "",
onblur: 'submit',
submit:"OK",
callback: function() {refresh();}, //changes color of row immeditly
tooltip : "Status dropdown",
style : "inherit"
});
I'm not sure this can be done but I was asked if a right click could toggle between two values. And if a double click would toggle between two other values, and left click display the entire dropdown list for selection. Currently my code looks like this;