Search code examples
asp.net-mvcjqgridjqgrid-asp.net

JqGrid Edit & Delete button with each row


i m using jqgrid with mvc 3, I want to add Edit and Delete button with every row of JqGrid , i have achieved this thing by the help of this link. But it is for inline editing, i want to open a popup widows when click on edit button.

How can i achieve this thing.

Thanks


Solution

  • You should just use new editformbutton: true option which exists starting with version 4.1.0 of jqGrid:

    formatter:'actions',
    formatoptions: {
        keys: true,
        editformbutton: true
    }