jqgrid_utils 1.36.0 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -19,6 +19,10 @@ Convenient Functions for free jqGrid
19
19
 
20
20
  ```
21
21
 
22
+ # Documentation
23
+ https://github.com/myridia/jqgrid_utils/blob/main/README.md
24
+
25
+ # Source code:
22
26
  Source: https://github.com/myridia/jqgrid_utils/actions
23
27
 
24
28
  <a name="module_Jqgrid_utils"></a>
@@ -28,6 +32,7 @@ A module for Jqgrid_utils
28
32
 
29
33
 
30
34
  * [Jqgrid_utils](#module_Jqgrid_utils)
35
+ * [module.exports#add_checkbox(col_model, field_name)](#exp_module_Jqgrid_utils--module.exports+add_checkbox) ⏏
31
36
  * [module.exports#add_class(col_model, field_name, class_name)](#exp_module_Jqgrid_utils--module.exports+add_class) ⏏
32
37
  * [module.exports#_grid_substract_on()](#exp_module_Jqgrid_utils--module.exports+_grid_substract_on) ⏏
33
38
  * [module.exports#grid_substract_on(grid, minuend, subtrahend, difference, no_negative)](#exp_module_Jqgrid_utils--module.exports+grid_substract_on) ⏏
@@ -87,6 +92,23 @@ A module for Jqgrid_utils
87
92
  * [module.exports#set_filter(grid, data, fx, append_to)](#exp_module_Jqgrid_utils--module.exports+set_filter) ⏏
88
93
  * [module.exports#_filter()](#exp_module_Jqgrid_utils--module.exports+_filter) ⏏
89
94
 
95
+ <a name="exp_module_Jqgrid_utils--module.exports+add_checkbox"></a>
96
+
97
+ ### module.exports#add\_checkbox(col_model, field_name) ⏏
98
+ Add a Checkbox to the Model
99
+
100
+ **Kind**: Exported function
101
+
102
+ | Param | Type | Description |
103
+ | --- | --- | --- |
104
+ | col_model | <code>array</code> | grid col_model |
105
+ | field_name | <code>string</code> | column_name |
106
+
107
+ **Example**
108
+ ```js
109
+ var jqu = new Jqgrid_utils();
110
+ ol_model = await jqu.add_checkbox(col_model, "closed");
111
+ ```
90
112
  <a name="exp_module_Jqgrid_utils--module.exports+add_class"></a>
91
113
 
92
114
  ### module.exports#add\_class(col_model, field_name, class_name) ⏏