jsl-ui 9.19.8 → 9.19.9
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.
|
@@ -127,6 +127,7 @@ var DialogComponent = /** @class */ (function () {
|
|
|
127
127
|
return;
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
|
+
renderer.render({ tag: "div" }); // necessary to call all onRemove functions in rendered content
|
|
130
131
|
document.body.removeChild(container);
|
|
131
132
|
JSLRender.lastCreatedRenderer = oldRenderer;
|
|
132
133
|
if (oldRenderer != null) {
|
package/lib/grid/slick.grid.js
CHANGED
|
@@ -2805,20 +2805,19 @@ export function SlickGrid(container, data, columns, options) {
|
|
|
2805
2805
|
(options.formatterFactory && options.formatterFactory.getFormatter(column, row)) ||
|
|
2806
2806
|
options.defaultFormatter;
|
|
2807
2807
|
}
|
|
2808
|
-
function callFormatter(row, cell, value, m, item, grid) {
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
}
|
|
2808
|
+
// function callFormatter(row, cell, value, m, item, grid) {
|
|
2809
|
+
// var result;
|
|
2810
|
+
// // pass metadata to formatter
|
|
2811
|
+
// var metadata = data.getItemMetadata && data.getItemMetadata(row);
|
|
2812
|
+
// metadata = metadata && metadata.columns;
|
|
2813
|
+
// if (metadata) {
|
|
2814
|
+
// var columnData = metadata[m.id] || metadata[cell];
|
|
2815
|
+
// result = getFormatter(row, m)(row, cell, value, m, item, columnData);
|
|
2816
|
+
// } else {
|
|
2817
|
+
// result = getFormatter(row, m)(row, cell, value, m, item);
|
|
2818
|
+
// }
|
|
2819
|
+
// return result;
|
|
2820
|
+
// }
|
|
2822
2821
|
function getEditor(row, cell) {
|
|
2823
2822
|
var column = columns[cell];
|
|
2824
2823
|
var rowMetadata = data.getItemMetadata && data.getItemMetadata(row);
|