cassidy2010
cassidy2010

Reputation: 3

disable/hide confirm dialog box when deleting row from jqgrid

I am new to jqGrid and am looking to remove the confirm dialog box when deleting a row in jqGrid. I have looked through the jqGrid code and documentation and don't seem to see anything that allows this behavior. Is this something that would be posssible?

Upvotes: 0

Views: 3113

Answers (1)

mrtsherman
mrtsherman

Reputation: 39892

I am not familiar with jqgrid, but I took a look at the documentation and had some thoughts.

  1. Perhaps you can use beforeShowForm to cancel the dialog?
  2. Use afterShowForm to programatically click confirm. Then perhaps use CSS so that the user never sees the dialog in the first place.

As stated I don't see an option in their docs to disable confirmation dialogs.

http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing&s[]=delete&s[]=row

Upvotes: 1

Related Questions