如何将在行单击上选择的多行提交到JqGrid中的数据库? [英] how to submit multiple rows selected on row click to database in JqGrid?

查看:102
本文介绍了如何将在行单击上选择的多行提交到JqGrid中的数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个JqGrid,当我必须选择多行并单击发布按钮时,它需要将该列发送到数据库.我怎样才能做到这一点?我是否必须以JSON格式发送数据?

i have a JqGrid and when I have to select multiple rows and click on a release button it need to send that columns to database. How can I achieve this? Do I have to send the data in JSON format ?

推荐答案

是的,您必须使用JSON或XML才能使用任何格式.您可以使用JSON.stringify并使用$ .post这些行.

yes, you have to use JSON or XML any format will work . You can use JSON.stringify and use $.post those rows .

这篇关于如何将在行单击上选择的多行提交到JqGrid中的数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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