gpt4 book ai didi

jquery - Jediatable with grails - 如何在更改 Controller 中的字段数据时获取其他参数?

转载 作者:行者123 更新时间:2023-12-02 14:54:29 24 4
gpt4 key购买 nike

enter image description here
为我的 GSP 页面使用 Jeditable 插件,如下所示。我想将 jobid 作为参数发送,同时保存对字段所做的更改,以便我可以在表中保存正确的记录。

fiddle 链接 - http://jsfiddle.net/358ES/3/

的 Controller 代码更新功能为了节省是 -

def update = {
println params
//saving will come here.
}

在控制台上打印如下参数 -
  [id:select_2, value:daily, action:update, controller:auth]  //I NEED JOB ID AS PARAM.

如何获取单击哪个行 id 进行更改?????

最佳答案

我已经解决了这个问题,并将 jobId 添加到每个列名,以便在提交时获得 ID。

关于jquery - Jediatable with grails - 如何在更改 Controller 中的字段数据时获取其他参数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12430605/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com