dougong5817 2015-05-05 08:56
浏览 36

JQgrid PHP 4.4.0复选框onclick更新数据库

I'm working with JQGrid PHP version 4.4.0 where i must have a checkbox as one of the column for each row which specifies status of the row. The database are being retrieved from phpmyadmin thru json. For now i retrieve the status as active and inactive. I want to add a checkbox instead of showing active/inactive in status column. If the status is active. then by default the checkbox must be checked whereas if the status is inactive. then the checkbox must be unchecked. Whenever user clicks on the checkbox it must update the status on database too.

JQgrid checkbox onclick update database

I found this answer but i don't know the way to add in to my code.

Any help is much appreciated.. Thanks

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 51单片机中C语言怎么做到下面类似的功能的函数(相关搜索:c语言)
    • ¥15 seatunnel 怎么配置Elasticsearch
    • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
    • ¥15 (标签-MATLAB|关键词-多址)
    • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
    • ¥500 52810做蓝牙接受端
    • ¥15 基于PLC的三轴机械手程序
    • ¥15 多址通信方式的抗噪声性能和系统容量对比
    • ¥15 winform的chart曲线生成时有凸起
    • ¥15 msix packaging tool打包问题