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.js
CHANGED
|
@@ -1238,7 +1238,8 @@ function grid(props, dataGridRef) {
|
|
|
1238
1238
|
className: "odsDatagrid",
|
|
1239
1239
|
style: {
|
|
1240
1240
|
width: "100%",
|
|
1241
|
-
overflowX: '
|
|
1241
|
+
overflowX: 'hidden',
|
|
1242
|
+
overflowY: "hidden"
|
|
1242
1243
|
}
|
|
1243
1244
|
}, React__default.createElement(dataGrid.DataGrid, {
|
|
1244
1245
|
dataSource: props.dataSource,
|
|
@@ -1380,7 +1381,8 @@ function grid(props, dataGridRef) {
|
|
|
1380
1381
|
dataField: "Actions",
|
|
1381
1382
|
caption: "Actions",
|
|
1382
1383
|
type: "buttons",
|
|
1383
|
-
width: 110
|
|
1384
|
+
width: 110,
|
|
1385
|
+
showInColumnChooser: false
|
|
1384
1386
|
}, React__default.createElement(React__default.Fragment, null, props.edit.allowUpdating && React__default.createElement(dataGrid.Button, {
|
|
1385
1387
|
name: "edit"
|
|
1386
1388
|
}), props.edit.allowDeleting && React__default.createElement(dataGrid.Button, {
|
|
@@ -1402,7 +1404,10 @@ function grid(props, dataGridRef) {
|
|
|
1402
1404
|
location: "before"
|
|
1403
1405
|
}, React__default.createElement(OdsButton, {
|
|
1404
1406
|
type: "primary",
|
|
1405
|
-
onClick: props.onAddButton
|
|
1407
|
+
onClick: props.onAddButton,
|
|
1408
|
+
style: {
|
|
1409
|
+
marginBottom: "10px"
|
|
1410
|
+
}
|
|
1406
1411
|
}, "Add New")), React__default.createElement(dataGrid.Item, {
|
|
1407
1412
|
name: "searchPanel"
|
|
1408
1413
|
}), React__default.createElement(dataGrid.Item, {
|