Is there a way to basically do a fireCommand() on a grid with an application specific command string instead of the ones pre-defined by the grid? I have some specialized functionality I am trying to achieve through JavaScript, but the grid is not giving me the server-side OnItemCommand() event I was hoping for.
Here is my JavaScript:
Any help, as always, is greatly appreciated.
Thanks,
Kevin
Here is my JavaScript:
function ConfirmItemAdd(itemText, newODID) { |
if(confirm("Would you like to add item [" + itemText + "] to the order?") == true) |
masterTableView.fireCommand("SaveNewAndEdit", newODID); |
else |
masterTableView.fireCommand("AbandonNewAndEdit", newODID); |
} |
Any help, as always, is greatly appreciated.
Thanks,
Kevin