Get the App
SLTechnology News&Howtos  ›  Development  › 

How to add checkbox to jQuery

Shulou Source: shulou.com Published: 2022-06-01 04:51:53 09月22日 Update

This article mainly introduces jQuery how to add checkbox, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

Add checkbox:

$("# datagrid") .datagrid (url: "${rootPath} / user_add.action", idField:'id', checkOnSelect:false, selectOnCheck:true,// check box Select frozonColumns: [{field:'id', title:' number', width:150, checkbox:true}, {field:'name', title:' login name', width:150, sortable:true}]] Columns: [[{field:'pwd', title:' password', width:150, formatter: function () {return: "*"}]]) Thank you for reading this article carefully. I hope the article "how to add checkbox to jQuery" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Articles value interest at the same time name password more friends knowledge editing industry information information channels channels check boxes references learning help support login Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL OPPO Reno Apple vpn Huawei