views:

94

answers:

0

I am using JQGrid 3.4 and have a master and detail grid. The grids employ the add record forms from a button click on the navigator. I want to prevent the display of the add detail row from when no master row is selected. I have figured out how to determine if it the master grid has a selected row or not and to show an alert message box but not how to prevent the add form dialog from popping up after. I put my alert in the onInitializeForm event of the details add form options. Is there a command I can execute after the alert to cancel the showing of the dialog? Thanks.