jqgrid_utils 1.3.1 → 1.3.2
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 +2 -0
- package/dist/jqgrid_utils.js +2 -1
- package/jqgrid_utils.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -99,6 +99,8 @@ loadComplete: function(){
|
|
|
99
99
|
<a name="exp_module_Jqgrid_utils--module.exports+grid_set_caption"></a>
|
|
100
100
|
|
|
101
101
|
### module.exports#grid\_set\_caption(_grid, data) ⏏
|
|
102
|
+
Adding the row count number to the caption
|
|
103
|
+
|
|
102
104
|
**Kind**: Exported function
|
|
103
105
|
|
|
104
106
|
| Param | Type | Description |
|
package/dist/jqgrid_utils.js
CHANGED
|
@@ -70,6 +70,7 @@ loadComplete: function(){
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
+
Adding the row count number to the caption
|
|
73
74
|
@alias module:Jqgrid_utils
|
|
74
75
|
@param {object} - gridobject;
|
|
75
76
|
@param {object} - grid data (optional);
|
|
@@ -94,7 +95,7 @@ loadComplete: function(){
|
|
|
94
95
|
let caption = grid.jqGrid("getGridParam", "caption");
|
|
95
96
|
const reg = /\d.*x/;
|
|
96
97
|
const new_caption = caption.replace(reg, "");
|
|
97
|
-
grid.jqGrid('setCaption', new_caption + count + 'x');
|
|
98
|
+
grid.jqGrid('setCaption', new_caption + " " + count + 'x');
|
|
98
99
|
}
|
|
99
100
|
|
|
100
101
|
/**
|
package/jqgrid_utils.js
CHANGED
|
@@ -69,6 +69,7 @@ loadComplete: function(){
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
+
Adding the row count number to the caption
|
|
72
73
|
@alias module:Jqgrid_utils
|
|
73
74
|
@param {object} - gridobject;
|
|
74
75
|
@param {object} - grid data (optional);
|
|
@@ -93,7 +94,7 @@ loadComplete: function(){
|
|
|
93
94
|
let caption = grid.jqGrid("getGridParam", "caption");
|
|
94
95
|
const reg = /\d.*x/;
|
|
95
96
|
const new_caption = caption.replace(reg, "");
|
|
96
|
-
grid.jqGrid('setCaption', new_caption + count + 'x');
|
|
97
|
+
grid.jqGrid('setCaption', new_caption + " " + count + 'x');
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
/**
|
package/package.json
CHANGED