ods-component-lib 1.17.35 → 1.17.37
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/dist/index.js +6 -10
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -10
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1221,6 +1221,7 @@ function grid(props, dataGridRef) {
|
|
|
1221
1221
|
});
|
|
1222
1222
|
});
|
|
1223
1223
|
} else {
|
|
1224
|
+
debugger;
|
|
1224
1225
|
var doc = new jsPDF();
|
|
1225
1226
|
exportDataGrid$1({
|
|
1226
1227
|
jsPDFDocument: doc,
|
|
@@ -1228,6 +1229,9 @@ function grid(props, dataGridRef) {
|
|
|
1228
1229
|
indent: 5
|
|
1229
1230
|
}).then(function () {
|
|
1230
1231
|
doc.save(fileName + '.pdf');
|
|
1232
|
+
}).then(function () {
|
|
1233
|
+
e.component.columnOption('hiddenColumn', 'visible', false);
|
|
1234
|
+
e.component.endUpdate();
|
|
1231
1235
|
});
|
|
1232
1236
|
}
|
|
1233
1237
|
};
|
|
@@ -1418,16 +1422,8 @@ function grid(props, dataGridRef) {
|
|
|
1418
1422
|
}), React.createElement(Item$1, {
|
|
1419
1423
|
menuItemRender: renderMenuItem
|
|
1420
1424
|
})), React.createElement(Summary, null, React.createElement(TotalItem, {
|
|
1421
|
-
column:
|
|
1422
|
-
summaryType: "count"
|
|
1423
|
-
displayFormat: "{0} Total Data"
|
|
1424
|
-
}), props.sumaryRowItems && props.sumaryRowItems.map(function (item) {
|
|
1425
|
-
return React.createElement(TotalItem, {
|
|
1426
|
-
column: item.columnName,
|
|
1427
|
-
summaryType: item.aggregateFn,
|
|
1428
|
-
valueFormat: item.valueFormat ? item.valueFormat : "",
|
|
1429
|
-
displayFormat: "Total: {0}"
|
|
1430
|
-
});
|
|
1425
|
+
column: props.keyExpr,
|
|
1426
|
+
summaryType: "count"
|
|
1431
1427
|
})), React.createElement(StateStoring, {
|
|
1432
1428
|
enabled: true,
|
|
1433
1429
|
type: "localStorage",
|