How to add checkbox to jQuery
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!