jqgrid_utils 1.2.12 → 1.2.14
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 +9 -0
- package/dist/jqgrid_utils.js +2 -1
- package/jqgrid_utils.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,6 +55,7 @@ A module for Jqgrid_utils
|
|
|
55
55
|
* [module.exports#subgrid(_id, id, data_url, col_model, caption)](#exp_module_Jqgrid_utils--module.exports+subgrid) ⏏
|
|
56
56
|
* [module.exports#add_image(col_model, edit_field, size, link)](#exp_module_Jqgrid_utils--module.exports+add_image) ⏏
|
|
57
57
|
* [module.exports#set_filter(grid, data, fx, append_to)](#exp_module_Jqgrid_utils--module.exports+set_filter) ⏏
|
|
58
|
+
* [module.exports#_filter()](#exp_module_Jqgrid_utils--module.exports+_filter) ⏏
|
|
58
59
|
|
|
59
60
|
<a name="exp_module_Jqgrid_utils--module.exports+set_link"></a>
|
|
60
61
|
|
|
@@ -202,6 +203,8 @@ col_model = await jqu.add_image(col_model, 'image', 60, false);
|
|
|
202
203
|
<a name="exp_module_Jqgrid_utils--module.exports+set_filter"></a>
|
|
203
204
|
|
|
204
205
|
### module.exports#set\_filter(grid, data, fx, append_to) ⏏
|
|
206
|
+
Add a filter to the website beside the grid
|
|
207
|
+
|
|
205
208
|
**Kind**: Exported function
|
|
206
209
|
|
|
207
210
|
| Param | Type | Default | Description |
|
|
@@ -223,3 +226,9 @@ gridComplete: async function(){
|
|
|
223
226
|
}
|
|
224
227
|
},
|
|
225
228
|
```
|
|
229
|
+
<a name="exp_module_Jqgrid_utils--module.exports+_filter"></a>
|
|
230
|
+
|
|
231
|
+
### module.exports#\_filter() ⏏
|
|
232
|
+
private function of set_filter
|
|
233
|
+
|
|
234
|
+
**Kind**: Exported function
|
package/dist/jqgrid_utils.js
CHANGED
|
@@ -547,6 +547,7 @@ async add_image(col_model, edit_field, size, link=false)
|
|
|
547
547
|
|
|
548
548
|
|
|
549
549
|
/**
|
|
550
|
+
* Add a filter to the website beside the grid
|
|
550
551
|
@alias module:Jqgrid_utils
|
|
551
552
|
@param {object} - grid object or grid string name
|
|
552
553
|
@param {object} - the grid data object
|
|
@@ -609,8 +610,8 @@ async set_filter(grid, data, fx, append_to="#filter")
|
|
|
609
610
|
|
|
610
611
|
|
|
611
612
|
/**
|
|
613
|
+
* private function of set_filter
|
|
612
614
|
@alias module:Jqgrid_utils
|
|
613
|
-
private function for set_filter
|
|
614
615
|
*/
|
|
615
616
|
async _filter(grid, fx)
|
|
616
617
|
{
|
package/jqgrid_utils.js
CHANGED
|
@@ -546,6 +546,7 @@ async add_image(col_model, edit_field, size, link=false)
|
|
|
546
546
|
|
|
547
547
|
|
|
548
548
|
/**
|
|
549
|
+
* Add a filter to the website beside the grid
|
|
549
550
|
@alias module:Jqgrid_utils
|
|
550
551
|
@param {object} - grid object or grid string name
|
|
551
552
|
@param {object} - the grid data object
|
|
@@ -608,8 +609,8 @@ async set_filter(grid, data, fx, append_to="#filter")
|
|
|
608
609
|
|
|
609
610
|
|
|
610
611
|
/**
|
|
612
|
+
* private function of set_filter
|
|
611
613
|
@alias module:Jqgrid_utils
|
|
612
|
-
private function for set_filter
|
|
613
614
|
*/
|
|
614
615
|
async _filter(grid, fx)
|
|
615
616
|
{
|
package/package.json
CHANGED