jQuery Editable datatable [英] jQuery Editable datatable

查看:1280
本文介绍了jQuery Editable datatable的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个使用 jQuery,MVC 的项目。
因为我正在使用jquery datatable,所以我需要添加一个可编辑的数据表,哪个用户可以通过点击表行添加数据....当我点击一个按钮所有的数据表shuold传递给控制器​​添加到sql数据库
i tyied jEditable但它没有工作,
请帮助我这样做。



谢谢!

解决方案

Jquery数据表不支持向服务器提交数据。您只能从服务器抓取并填充数据。



您可以使用jQuery来执行ajax调用并收集datatable的数据,以便手动传回服务器。 p>

I'm doing a project which uses jQuery,MVC. for that i'm using the jquery datatable so i need to add a editable datatable,which user can add data by clicking at a table row....and when i click a button all the data in the table shuold pass to the Controller to add to the sql database i tyied jEditable but it didnt work, Please help me to do this.

Thank You!

解决方案

Jquery datatables does not support submitting data to the server. It can only grab and populate data from the server.

You could use jquery to do an ajax call and collect the datatable's data to pass back to the server manually.

这篇关于jQuery Editable datatable的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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