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