@progress/kendo-react-grid 5.1.0-dev.202202250754 → 5.1.0-dev.202202251453
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/es/Grid.js
CHANGED
|
@@ -452,6 +452,7 @@ var Grid = /** @class */ (function (_super) {
|
|
|
452
452
|
if (isColHidden[columnIndex]) {
|
|
453
453
|
return null;
|
|
454
454
|
}
|
|
455
|
+
var columnKey = column.id ? column.id : columnIndex;
|
|
455
456
|
var className = "" + (column.className ? column.className + ' ' : '')
|
|
456
457
|
+ ("" + (column.locked ? 'k-grid-content-sticky' : ''));
|
|
457
458
|
var style = column.left !== undefined
|
|
@@ -491,11 +492,11 @@ var Grid = /** @class */ (function (_super) {
|
|
|
491
492
|
}
|
|
492
493
|
}
|
|
493
494
|
if (column.cell) {
|
|
494
|
-
return React.createElement(column.cell, __assign({ key:
|
|
495
|
+
return React.createElement(column.cell, __assign({ key: columnKey }, cellProps));
|
|
495
496
|
}
|
|
496
497
|
return currentColumnIsInEdit
|
|
497
|
-
? React.createElement(GridEditCell, __assign({ key:
|
|
498
|
-
: React.createElement(GridCell, __assign({ key:
|
|
498
|
+
? React.createElement(GridEditCell, __assign({ key: columnKey }, cellProps))
|
|
499
|
+
: React.createElement(GridCell, __assign({ key: columnKey }, cellProps));
|
|
499
500
|
}),
|
|
500
501
|
isInEdit: isInEdit,
|
|
501
502
|
isSelected: typeof selectedValue === 'boolean' && selectedValue
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-grid',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1645800283,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
package/dist/npm/Grid.js
CHANGED
|
@@ -454,6 +454,7 @@ var Grid = /** @class */ (function (_super) {
|
|
|
454
454
|
if (isColHidden[columnIndex]) {
|
|
455
455
|
return null;
|
|
456
456
|
}
|
|
457
|
+
var columnKey = column.id ? column.id : columnIndex;
|
|
457
458
|
var className = "" + (column.className ? column.className + ' ' : '')
|
|
458
459
|
+ ("" + (column.locked ? 'k-grid-content-sticky' : ''));
|
|
459
460
|
var style = column.left !== undefined
|
|
@@ -493,11 +494,11 @@ var Grid = /** @class */ (function (_super) {
|
|
|
493
494
|
}
|
|
494
495
|
}
|
|
495
496
|
if (column.cell) {
|
|
496
|
-
return React.createElement(column.cell, __assign({ key:
|
|
497
|
+
return React.createElement(column.cell, __assign({ key: columnKey }, cellProps));
|
|
497
498
|
}
|
|
498
499
|
return currentColumnIsInEdit
|
|
499
|
-
? React.createElement(GridEditCell_1.GridEditCell, __assign({ key:
|
|
500
|
-
: React.createElement(GridCell_1.GridCell, __assign({ key:
|
|
500
|
+
? React.createElement(GridEditCell_1.GridEditCell, __assign({ key: columnKey }, cellProps))
|
|
501
|
+
: React.createElement(GridCell_1.GridCell, __assign({ key: columnKey }, cellProps));
|
|
501
502
|
}),
|
|
502
503
|
isInEdit: isInEdit,
|
|
503
504
|
isSelected: typeof selectedValue === 'boolean' && selectedValue
|
|
@@ -7,7 +7,7 @@ exports.packageMetadata = {
|
|
|
7
7
|
name: '@progress/kendo-react-grid',
|
|
8
8
|
productName: 'KendoReact',
|
|
9
9
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
10
|
-
publishDate:
|
|
10
|
+
publishDate: 1645800283,
|
|
11
11
|
version: '',
|
|
12
12
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
13
13
|
};
|