ods-component-lib 1.13.2 → 1.13.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.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +8 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1195,7 +1195,12 @@ function grid(props) {
|
|
|
1195
1195
|
className: "dx-datagrid-headers"
|
|
1196
1196
|
}, colProperties.column.caption);
|
|
1197
1197
|
};
|
|
1198
|
-
return React.createElement(React.Fragment, null, React.createElement(
|
|
1198
|
+
return React.createElement(React.Fragment, null, React.createElement("div", {
|
|
1199
|
+
style: {
|
|
1200
|
+
width: "100%",
|
|
1201
|
+
overflowX: 'auto'
|
|
1202
|
+
}
|
|
1203
|
+
}, React.createElement(DataGrid, {
|
|
1199
1204
|
dataSource: props.dataSource,
|
|
1200
1205
|
keyExpr: props.keyExpr,
|
|
1201
1206
|
allowColumnResizing: true,
|
|
@@ -1207,8 +1212,7 @@ function grid(props) {
|
|
|
1207
1212
|
allowColumnReordering: true,
|
|
1208
1213
|
showRowLines: true,
|
|
1209
1214
|
showBorders: true,
|
|
1210
|
-
columnAutoWidth:
|
|
1211
|
-
width: "100%",
|
|
1215
|
+
columnAutoWidth: false,
|
|
1212
1216
|
onEditCanceling: props.onEditCanceling
|
|
1213
1217
|
}, React.createElement(Paging, {
|
|
1214
1218
|
enabled: true,
|
|
@@ -1323,7 +1327,7 @@ function grid(props) {
|
|
|
1323
1327
|
name: "exportButton"
|
|
1324
1328
|
}), React.createElement(Item$1, {
|
|
1325
1329
|
menuItemRender: renderMenuItem
|
|
1326
|
-
}))));
|
|
1330
|
+
})))));
|
|
1327
1331
|
}
|
|
1328
1332
|
|
|
1329
1333
|
var exportFormats$1 = ['xlsx', 'pdf'];
|