@churchillliving/se-ui-toolkit 6.53.197 → 6.53.198

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.
@@ -2653,18 +2653,24 @@
2653
2653
  }
2654
2654
  return this.addColumn(columnInfo);
2655
2655
  };
2656
- // add LookUp Field for Grid
2656
+ // add LookUp column for Grid
2657
2657
  GridService.prototype.addLookUpColumn = function (columnInfo, showFilter) {
2658
2658
  if (showFilter === void 0) { showFilter = true; }
2659
2659
  if (showFilter) {
2660
- columnInfo.filter = {
2661
- type: exports.GridFilterControlType.LOOKUP_INPUT,
2662
- showFilter: this.showFilterIcon(columnInfo),
2663
- };
2660
+ columnInfo.filter = { type: exports.GridFilterControlType.LOOKUP_INPUT, showFilter: this.showFilterIcon(columnInfo) };
2664
2661
  }
2665
2662
  columnInfo.type = exports.EGridColumnType.LOOKUP_INPUT;
2666
2663
  return this.addColumn(columnInfo);
2667
2664
  };
2665
+ // add dialog column for Grid
2666
+ GridService.prototype.addDialogColumn = function (columnInfo, showFilter) {
2667
+ if (showFilter === void 0) { showFilter = true; }
2668
+ if (showFilter) {
2669
+ columnInfo.filter = { type: exports.GridFilterControlType.INPUT, showFilter: this.showFilterIcon(columnInfo) };
2670
+ }
2671
+ columnInfo.type = exports.EGridColumnType.DIALOG;
2672
+ return this.addColumn(columnInfo);
2673
+ };
2668
2674
  // add Button for grid column
2669
2675
  GridService.prototype.addButtonColumn = function (columnInfo) {
2670
2676
  columnInfo.type = exports.EGridColumnType.ADD_BUTTON;