easyui checkbox
- formatter: function (value) {
- if (String(value) == "1") {
- return '<span class="icon icon-enable"></span>';
- }
- else if (String(value) == "0") {
- return '<span class="icon icon-disable"></span>';
- }
- },
- editor: {
- type: 'checkbox',
- options: {
- on: 1,
- off: 0
- }
- }