jsl-ui 8.13.0 → 8.14.0

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.
@@ -10,6 +10,7 @@ export declare let HtmlFormatter: ISlickFormatter;
10
10
  export declare let LookupFormatter: ISlickFormatter;
11
11
  export declare let MultiLookupFormatter: ISlickFormatter;
12
12
  export declare let TextFormatter: ISlickFormatter;
13
+ export declare let TooltipFormatter: ISlickFormatter;
13
14
  export declare let MultiLineTextFormatter: ISlickFormatter;
14
15
  export declare let TimeFormatter: ISlickFormatter;
15
16
  export declare let DateTimeFormatter: ISlickFormatter;
@@ -101,6 +101,15 @@ export var TextFormatter = function (row, cell, value, columnDef, dataContext) {
101
101
  return escapeHTMLChars(value + "");
102
102
  }
103
103
  };
104
+ export var TooltipFormatter = function (row, cell, value, columnDef, dataContext) {
105
+ if (value == null) {
106
+ return "";
107
+ }
108
+ else {
109
+ var result = escapeHTMLChars(value + "");
110
+ return { text: result, toolTip: result };
111
+ }
112
+ };
104
113
  export var MultiLineTextFormatter = function (row, cell, value, columnDef, dataContext) {
105
114
  var txt = "";
106
115
  if (value != null) {