jqgrid_utils 1.27.2 → 1.27.3
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 +44 -7
- package/dist/.hidden +0 -0
- package/dist/jqgrid_utils.js +1728 -0
- package/jqgrid_utils.js +4 -3
- package/make.sh +0 -2
- package/make_doc.sh +2 -0
- package/package.json +1 -1
package/jqgrid_utils.js
CHANGED
|
@@ -24,7 +24,6 @@ module.exports = class Vanilla_website_utils
|
|
|
24
24
|
/**
|
|
25
25
|
* Takes the updated columns data and send it to your API post server
|
|
26
26
|
* loadComplete: async function() for the old record needs to be called, see example !
|
|
27
|
-
* the jgrid ID must be of type string
|
|
28
27
|
@alias module:Jqgrid_utils
|
|
29
28
|
@param {object} - Grid Object (required)
|
|
30
29
|
@param {string} - API URL like https://foo.com (required)
|
|
@@ -120,7 +119,7 @@ var jqu = new Jqgrid_utils({page:page});
|
|
|
120
119
|
}
|
|
121
120
|
else if(api != '' && Object.keys(row).length > 0 && row.inputData.oper == 'add')
|
|
122
121
|
{
|
|
123
|
-
|
|
122
|
+
console.log("...add");
|
|
124
123
|
for(let i in row.inputData)
|
|
125
124
|
{
|
|
126
125
|
if(row.inputData[i] && i != 'id' && i != 'oper')
|
|
@@ -1410,7 +1409,9 @@ var jqu = new Jqgrid_utils();
|
|
|
1410
1409
|
'fields':{'style':'style'}
|
|
1411
1410
|
}
|
|
1412
1411
|
]);
|
|
1413
|
-
|
|
1412
|
+
//other example
|
|
1413
|
+
col_model = await jqu.add_link_separator(col_model, 'https://wiki.salamander-jewelry.net/index.php/grid_loss' , 'e',[{'field':'e'}],'target="_blank"');
|
|
1414
|
+
|
|
1414
1415
|
*/
|
|
1415
1416
|
async add_link_separator(col_model, url, edit_field, fields, attr='')
|
|
1416
1417
|
{
|
package/make.sh
CHANGED
package/make_doc.sh
CHANGED
package/package.json
CHANGED