jqgrid_utils 1.4.4 → 1.4.5
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/.hgignore +17 -0
- package/README.md +26 -14
- package/_README.md +7 -14
- package/package.json +2 -2
- package/sync_repo.sh +5 -0
package/.hgignore
ADDED
package/README.md
CHANGED
|
@@ -1,31 +1,24 @@
|
|
|
1
1
|
# Jqgrid_utils
|
|
2
2
|
Convenient Functions for free jqGrid
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Add a the library to your website
|
|
4
|
+
# How to install:
|
|
5
|
+
```bashh
|
|
6
|
+
npm install jqgrid_utils
|
|
7
|
+
```
|
|
10
8
|
|
|
9
|
+
# Usage:
|
|
11
10
|
```html
|
|
12
11
|
<script src="../node_modules/jqgrid_utils/dist/jqgrid_utils.js"></script>
|
|
13
12
|
```
|
|
14
13
|
|
|
15
14
|
|
|
16
|
-
Example
|
|
17
|
-
```javascript
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Init
|
|
22
|
-
* example:
|
|
15
|
+
# Example:
|
|
23
16
|
```javascript
|
|
24
17
|
let jqu = new Jqgrid_utils();
|
|
25
18
|
|
|
26
19
|
```
|
|
27
20
|
|
|
28
|
-
|
|
21
|
+
Source: https://w3.calantas.org/free-dockers/jqgrid_utils/
|
|
29
22
|
|
|
30
23
|
<a name="module_Jqgrid_utils"></a>
|
|
31
24
|
|
|
@@ -34,6 +27,7 @@ A module for Jqgrid_utils
|
|
|
34
27
|
|
|
35
28
|
|
|
36
29
|
* [Jqgrid_utils](#module_Jqgrid_utils)
|
|
30
|
+
* [module.exports#add_ok_button(col_model, fields)](#exp_module_Jqgrid_utils--module.exports+add_ok_button) ⇒ <code>array</code> ⏏
|
|
37
31
|
* [module.exports#get_filled_cell_table_data(_grid, fields)](#exp_module_Jqgrid_utils--module.exports+get_filled_cell_table_data) ⇒ <code>array</code> ⏏
|
|
38
32
|
* [module.exports#get_filled_cell_data(_grid, fields)](#exp_module_Jqgrid_utils--module.exports+get_filled_cell_data) ⇒ <code>object</code> ⏏
|
|
39
33
|
* [module.exports#set_link(col_model, edit_field, url)](#exp_module_Jqgrid_utils--module.exports+set_link) ⇒ <code>object</code> ⏏
|
|
@@ -61,6 +55,24 @@ A module for Jqgrid_utils
|
|
|
61
55
|
* [module.exports#set_filter(grid, data, fx, append_to)](#exp_module_Jqgrid_utils--module.exports+set_filter) ⏏
|
|
62
56
|
* [module.exports#_filter()](#exp_module_Jqgrid_utils--module.exports+_filter) ⏏
|
|
63
57
|
|
|
58
|
+
<a name="exp_module_Jqgrid_utils--module.exports+add_ok_button"></a>
|
|
59
|
+
|
|
60
|
+
### module.exports#add\_ok\_button(col_model, fields) ⇒ <code>array</code> ⏏
|
|
61
|
+
Add an OK Button
|
|
62
|
+
|
|
63
|
+
**Kind**: Exported function
|
|
64
|
+
**Returns**: <code>array</code> - - col_model
|
|
65
|
+
|
|
66
|
+
| Param | Type | Description |
|
|
67
|
+
| --- | --- | --- |
|
|
68
|
+
| col_model | <code>array</code> | grid col_model |
|
|
69
|
+
| fields | <code>array</code> | list of columns names what will be converted to ok buttons |
|
|
70
|
+
|
|
71
|
+
**Example**
|
|
72
|
+
```js
|
|
73
|
+
var jqu = new Jqgrid_utils();
|
|
74
|
+
col_model = await jqu.add_ok_button(col_model, ['checked']);
|
|
75
|
+
```
|
|
64
76
|
<a name="exp_module_Jqgrid_utils--module.exports+get_filled_cell_table_data"></a>
|
|
65
77
|
|
|
66
78
|
### module.exports#get\_filled\_cell\_table\_data(_grid, fields) ⇒ <code>array</code> ⏏
|
package/_README.md
CHANGED
|
@@ -1,29 +1,22 @@
|
|
|
1
1
|
# Jqgrid_utils
|
|
2
2
|
Convenient Functions for free jqGrid
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Add a the library to your website
|
|
4
|
+
# How to install:
|
|
5
|
+
```bashh
|
|
6
|
+
npm install jqgrid_utils
|
|
7
|
+
```
|
|
10
8
|
|
|
9
|
+
# Usage:
|
|
11
10
|
```html
|
|
12
11
|
<script src="../node_modules/jqgrid_utils/dist/jqgrid_utils.js"></script>
|
|
13
12
|
```
|
|
14
13
|
|
|
15
14
|
|
|
16
|
-
Example
|
|
17
|
-
```javascript
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Init
|
|
22
|
-
* example:
|
|
15
|
+
# Example:
|
|
23
16
|
```javascript
|
|
24
17
|
let jqu = new Jqgrid_utils();
|
|
25
18
|
|
|
26
19
|
```
|
|
27
20
|
|
|
28
|
-
|
|
21
|
+
Source: https://w3.calantas.org/free-dockers/jqgrid_utils/
|
|
29
22
|
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
{},
|
|
9
9
|
"deprecated": false,
|
|
10
10
|
"description": "Convenient Functions for the Free jqGrid",
|
|
11
|
-
"homepage": "
|
|
11
|
+
"homepage": "https://w3.calantas.org/free-dockers/jqgrid_utils",
|
|
12
12
|
"license": "GPL-3.0-or-later",
|
|
13
13
|
"main": "jqgrid_utils.js",
|
|
14
14
|
"name": "jqgrid_utils",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
{
|
|
30
30
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
31
31
|
},
|
|
32
|
-
"version": "1.4.
|
|
32
|
+
"version": "1.4.5"
|
|
33
33
|
}
|