jQuery Editable datatable

落花浮王杯 提交于 2020-01-06 05:24:22

问题


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!


回答1:


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.




回答2:


Why dont you use Flexigrid for jQuery . It is the best client side data table I ever met. Details can be found here



来源:https://stackoverflow.com/questions/6920798/jquery-editable-datatable

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!