@churchillliving/se-ui-toolkit 6.53.97 → 6.53.98

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.
@@ -2500,8 +2500,13 @@
2500
2500
  columnInfo.optionLabel = columnInfo.optionLabel ? columnInfo.optionLabel : 'label';
2501
2501
  columnInfo.optionValue = columnInfo.optionValue ? columnInfo.optionValue : 'value';
2502
2502
  }
2503
- else if (columnInfo.type === exports.EGridColumnType.DIALOG && !columnInfo.filtering && !columnInfo.filter) {
2504
- columnInfo.filtering = false;
2503
+ else if (columnInfo.type === exports.EGridColumnType.DIALOG) {
2504
+ if (!columnInfo.filtering && !columnInfo.filter) {
2505
+ columnInfo.filtering = false;
2506
+ }
2507
+ if (columnInfo.params && !columnInfo.data) {
2508
+ columnInfo.data = columnInfo.params;
2509
+ }
2505
2510
  }
2506
2511
  var column = {
2507
2512
  allowSearch: columnInfo.allowSearch,
@@ -2808,11 +2813,6 @@
2808
2813
  };
2809
2814
  GridService.prototype.setHyperlinks = function (fetchResponse, columns) {
2810
2815
  var _this = this;
2811
- columns.forEach(function (column) {
2812
- if (column.type === exports.EGridColumnType.DIALOG && !column.data) {
2813
- _this.alertService.error("\"Data\" property is missing for \"" + column.header + "\" column");
2814
- }
2815
- });
2816
2816
  var records = [];
2817
2817
  var data = fetchResponse && fetchResponse.records.length > 0 ? this.setDataFields(fetchResponse.records) : [];
2818
2818
  var newRow;