ods-component-lib 1.16.3 → 1.16.5
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 +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +8 -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
|
@@ -1216,6 +1216,7 @@ function OdsDataGrid(props) {
|
|
|
1216
1216
|
}
|
|
1217
1217
|
function grid(props) {
|
|
1218
1218
|
var _ref;
|
|
1219
|
+
var dataGridRef = React.useRef(null);
|
|
1219
1220
|
var headerCellRender = function headerCellRender(colProperties) {
|
|
1220
1221
|
return React__default.createElement("th", {
|
|
1221
1222
|
className: "dx-datagrid-headers"
|
|
@@ -1256,6 +1257,7 @@ function grid(props) {
|
|
|
1256
1257
|
}, React__default.createElement(dataGrid.DataGrid, {
|
|
1257
1258
|
dataSource: props.dataSource,
|
|
1258
1259
|
keyExpr: props.keyExpr,
|
|
1260
|
+
ref: dataGridRef,
|
|
1259
1261
|
allowColumnResizing: true,
|
|
1260
1262
|
columnResizingMode: "widget",
|
|
1261
1263
|
onRowInserted: props.onRowInserted,
|
|
@@ -1406,7 +1408,11 @@ function grid(props) {
|
|
|
1406
1408
|
valueFormat: item.valueFormat ? item.valueFormat : "",
|
|
1407
1409
|
displayFormat: "Total: {0}"
|
|
1408
1410
|
});
|
|
1409
|
-
}))
|
|
1411
|
+
})), React__default.createElement(dataGrid.StateStoring, {
|
|
1412
|
+
enabled: true,
|
|
1413
|
+
type: "localStorage",
|
|
1414
|
+
storageKey: props.exportFileName + "Storage"
|
|
1415
|
+
}))));
|
|
1410
1416
|
}
|
|
1411
1417
|
|
|
1412
1418
|
var exportFormats$1 = ['xlsx', 'pdf'];
|