jqGrid的编辑和放大器;删除按钮,每行 [英] JqGrid Edit & Delete button with each row

查看:1033
本文介绍了jqGrid的编辑和放大器;删除按钮,每行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I M使用的jqGrid与MVC 3,我想补充编辑和jqGrid的的每一行删除按钮,我已经通过的<一的帮助下实现了这个事情href=\"http://stackoverflow.com/questions/5196387/jqgrid-editactioniconscolumn-events/5204793#5204793\">this链接。但对于内联编辑,我想在编辑按钮,点击时打开一个弹出寡妇。

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.

感谢

推荐答案

您应该使用新的<一个href=\"http://www.trirand.com/jqgridwiki/doku.php?id=wiki%3a$p$pdefined_formatter#$p$pdefined_format_types\"相对=nofollow> editformbutton:真选项,它存在与jqGrid的4.1.0版本开始:

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
}

这篇关于jqGrid的编辑和放大器;删除按钮,每行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆