ods-component-lib 1.17.134 → 1.17.135
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 +1 -15
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -15
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1278,18 +1278,6 @@ function OdsDataGrid(props) {
|
|
|
1278
1278
|
return grid(props, dataGridRef);
|
|
1279
1279
|
}
|
|
1280
1280
|
function grid(props, dataGridRef) {
|
|
1281
|
-
var headerCellRender = function headerCellRender(colProperties) {
|
|
1282
|
-
return React__default.createElement("th", {
|
|
1283
|
-
className: "dx-datagrid-headers",
|
|
1284
|
-
style: {
|
|
1285
|
-
fontFamily: "Manrope",
|
|
1286
|
-
fontSize: "14px",
|
|
1287
|
-
fontStyle: "normal",
|
|
1288
|
-
fontWeight: "600",
|
|
1289
|
-
lineHeight: "22px"
|
|
1290
|
-
}
|
|
1291
|
-
}, colProperties.column.caption);
|
|
1292
|
-
};
|
|
1293
1281
|
var fileName = props.exportFileName ? props.exportFileName + moment().format("YYYYMMDD") : "DatagridExportFile" + moment().format("YYYYMMDD");
|
|
1294
1282
|
var onExporting = function onExporting(e) {
|
|
1295
1283
|
if (e.format === 'xlsx') {
|
|
@@ -1445,9 +1433,7 @@ function grid(props, dataGridRef) {
|
|
|
1445
1433
|
}), props.columns.map(function (col) {
|
|
1446
1434
|
return React__default.createElement(dataGrid.Column, Object.assign({
|
|
1447
1435
|
key: col.dataField
|
|
1448
|
-
}, col, {
|
|
1449
|
-
headerCellRender: headerCellRender
|
|
1450
|
-
}), col.required && React__default.createElement(dataGrid.RequiredRule, {
|
|
1436
|
+
}, col), col.required && React__default.createElement(dataGrid.RequiredRule, {
|
|
1451
1437
|
message: col.requiredMessage
|
|
1452
1438
|
}), col.dataField === 'IsActive' && React__default.createElement(dataGrid.HeaderFilter, {
|
|
1453
1439
|
dataSource: [{
|