对于jquery数据表,需要在表itsellf中编辑整行 [英] Need entire row as editable in table itsellf for jquery datatable

查看:109
本文介绍了对于jquery数据表,需要在表itsellf中编辑整行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用JQuery Datatable创建一个表,其中包含每行的Edit按钮。单击编辑按钮我需要在表中自行编辑整行,我不想使用模式弹出执行编辑由DataTable Editor提供。我正在使用Ajax调用加载内容。是否可以自定义Editor方法以使整个行在表格中可编辑?



我尝试过:



我已经尝试了https://editor.datatables.net中提供的所有内联方法。

有没有可能使用编辑器本身而不是使用简单的javascript?

I have tried to create a table using JQuery Datatable which contains an Edit button for each row.On clicking edit button I need to make the entire row editable in the table itself and I do not want to perform edit using modal pop up provided by DataTable Editor.I'm loading contents using Ajax call.Is it possible to customize the Editor methods to make the entire row editable in table itself?

What I have tried:

I have tried all inline methods provided in https://editor.datatables.net.
Is there any possibility to do this using editor itself and not using simple javascript?

推荐答案

DataTables示例 - 编辑选项 - 提交完整行数据 [ ^ ]


这篇关于对于jquery数据表,需要在表itsellf中编辑整行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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