ods-component-lib 1.16.1 → 1.16.4
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.css +7 -0
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +24 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -25,7 +25,14 @@ tr._2CvVM._3udtX._32nFu{
|
|
|
25
25
|
align-items: center;
|
|
26
26
|
flex: 1 0 0;
|
|
27
27
|
}
|
|
28
|
+
._36VXO ._32nFu ._15hhi {
|
|
29
|
+
background-color: #E6F4FF /* Replace with your desired background color */
|
|
30
|
+
}
|
|
28
31
|
|
|
29
32
|
._2jY0l {
|
|
30
33
|
padding-top: 10px !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
._36VXO {
|
|
37
|
+
width: 100%;
|
|
31
38
|
}
|
package/dist/index.js
CHANGED
|
@@ -1395,6 +1395,17 @@ function grid(props) {
|
|
|
1395
1395
|
name: "exportButton"
|
|
1396
1396
|
}), React__default.createElement(dataGrid.Item, {
|
|
1397
1397
|
menuItemRender: renderMenuItem
|
|
1398
|
+
})), React__default.createElement(dataGrid.Summary, null, React__default.createElement(dataGrid.TotalItem, {
|
|
1399
|
+
column: "Id",
|
|
1400
|
+
summaryType: "count",
|
|
1401
|
+
displayFormat: "{0} Total Data"
|
|
1402
|
+
}), props.sumaryRowItems && props.sumaryRowItems.map(function (item) {
|
|
1403
|
+
return React__default.createElement(dataGrid.TotalItem, {
|
|
1404
|
+
column: item.columnName,
|
|
1405
|
+
summaryType: item.aggregateFn,
|
|
1406
|
+
valueFormat: item.valueFormat ? item.valueFormat : "",
|
|
1407
|
+
displayFormat: "Total: {0}"
|
|
1408
|
+
});
|
|
1398
1409
|
})))));
|
|
1399
1410
|
}
|
|
1400
1411
|
|
|
@@ -1494,7 +1505,18 @@ function grid$1(props) {
|
|
|
1494
1505
|
}, col, {
|
|
1495
1506
|
headerCellRender: headerCellRender
|
|
1496
1507
|
}), " ");
|
|
1497
|
-
})
|
|
1508
|
+
}), React__default.createElement(dataGrid.Summary, null, React__default.createElement(dataGrid.TotalItem, {
|
|
1509
|
+
column: "Id",
|
|
1510
|
+
summaryType: "count",
|
|
1511
|
+
displayFormat: "{0} Total Data"
|
|
1512
|
+
}), props.sumaryRowItems && props.sumaryRowItems.map(function (item) {
|
|
1513
|
+
return React__default.createElement(dataGrid.TotalItem, {
|
|
1514
|
+
column: item.columnName,
|
|
1515
|
+
summaryType: item.aggregateFn,
|
|
1516
|
+
valueFormat: item.valueFormat ? item.valueFormat : "",
|
|
1517
|
+
displayFormat: "Total: {0}"
|
|
1518
|
+
});
|
|
1519
|
+
}))));
|
|
1498
1520
|
}
|
|
1499
1521
|
|
|
1500
1522
|
var exportFormats$2 = ['xlsx', 'pdf'];
|