ods-component-lib 1.17.30 → 1.17.32
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 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +8 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1234,7 +1234,8 @@ function grid(props, dataGridRef) {
|
|
|
1234
1234
|
className: "odsDatagrid",
|
|
1235
1235
|
style: {
|
|
1236
1236
|
width: "100%",
|
|
1237
|
-
overflowX: '
|
|
1237
|
+
overflowX: 'hidden',
|
|
1238
|
+
overflowY: "hidden"
|
|
1238
1239
|
}
|
|
1239
1240
|
}, React.createElement(DataGrid, {
|
|
1240
1241
|
dataSource: props.dataSource,
|
|
@@ -1376,7 +1377,8 @@ function grid(props, dataGridRef) {
|
|
|
1376
1377
|
dataField: "Actions",
|
|
1377
1378
|
caption: "Actions",
|
|
1378
1379
|
type: "buttons",
|
|
1379
|
-
width: 110
|
|
1380
|
+
width: 110,
|
|
1381
|
+
showInColumnChooser: false
|
|
1380
1382
|
}, React.createElement(React.Fragment, null, props.edit.allowUpdating && React.createElement(Button$1, {
|
|
1381
1383
|
name: "edit"
|
|
1382
1384
|
}), props.edit.allowDeleting && React.createElement(Button$1, {
|
|
@@ -1398,7 +1400,10 @@ function grid(props, dataGridRef) {
|
|
|
1398
1400
|
location: "before"
|
|
1399
1401
|
}, React.createElement(OdsButton, {
|
|
1400
1402
|
type: "primary",
|
|
1401
|
-
onClick: props.onAddButton
|
|
1403
|
+
onClick: props.onAddButton,
|
|
1404
|
+
style: {
|
|
1405
|
+
marginBottom: "10px"
|
|
1406
|
+
}
|
|
1402
1407
|
}, "Add New")), React.createElement(Item$1, {
|
|
1403
1408
|
name: "searchPanel"
|
|
1404
1409
|
}), React.createElement(Item$1, {
|