0

In form editing in jqgrid if we do not select any row for editing an message box show automatically asking to select any row for editing.

I want to show the same message window while doing some custom functions by implementing the custom button in my jqgrid?

Is there any way to call any method or implement any event to show the message window?

BenMorel
  • 34,448
  • 50
  • 182
  • 322
Amit
  • 623
  • 2
  • 8
  • 18

1 Answers1

0

I am able to achieve it by the use of following code

var alertIDs = {themodal: 'alertmod', modalhead: 'alerthd', modalcontent: 'alertcnt'};
$.jgrid.viewModal("#" + alertIDs.themodal,
{gbox: "#gbox_" + $.jgrid.jqID(this.p.id), jqm: true});
 $("#jqg_alrt").focus();
Amit
  • 623
  • 2
  • 8
  • 18
  • For more details: http://stackoverflow.com/questions/11959939/jqgrid-warning-dialog – Amit Jan 29 '13 at 07:00