jqgrid_utils 1.1.8 → 1.1.9

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.
@@ -382,12 +382,11 @@ __cell_format(cell_value, format)
382
382
 
383
383
 
384
384
 
385
- // let data_url = api + '/style_row?f=data&style=';
386
- // let col_model_url = api + '/style_row?f=col_model';
387
- // await jqu.subgrid(_id, id, data_url, col_model_url);
388
- async subgrid(_id, id, data_url, col_model_url)
385
+ //let data_url = api + '/phone_detail?f=data&_id=';
386
+ // let col_model_url = api + '/phone_detail?f=col_model';
387
+ // let col_model = JSON.parse(await vwu.aget_api(col_model_url))
388
+ async subgrid(_id, id, data_url, col_model)
389
389
  {
390
- let col_model = JSON.parse(await aget_api(col_model_url));
391
390
  let url = data_url + id;
392
391
  let $s1 = jQuery("<table id='" + _id + "_t'></table>");
393
392
  let data = jQuery(this).getLocalRow(id);
package/jqgrid_utils.js CHANGED
@@ -381,12 +381,11 @@ __cell_format(cell_value, format)
381
381
 
382
382
 
383
383
 
384
- // let data_url = api + '/style_row?f=data&style=';
385
- // let col_model_url = api + '/style_row?f=col_model';
386
- // await jqu.subgrid(_id, id, data_url, col_model_url);
387
- async subgrid(_id, id, data_url, col_model_url)
384
+ //let data_url = api + '/phone_detail?f=data&_id=';
385
+ // let col_model_url = api + '/phone_detail?f=col_model';
386
+ // let col_model = JSON.parse(await vwu.aget_api(col_model_url))
387
+ async subgrid(_id, id, data_url, col_model)
388
388
  {
389
- let col_model = JSON.parse(await aget_api(col_model_url));
390
389
  let url = data_url + id;
391
390
  let $s1 = jQuery("<table id='" + _id + "_t'></table>");
392
391
  let data = jQuery(this).getLocalRow(id);
package/package.json CHANGED
@@ -28,5 +28,5 @@
28
28
  {
29
29
  "test": "echo \"Error: no test specified\" && exit 1"
30
30
  },
31
- "version": "1.1.8"
31
+ "version": "1.1.9"
32
32
  }