@refinitiv-ui/efx-grid 6.0.0 → 6.0.3

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.
Files changed (151) hide show
  1. package/lib/column-format-dialog/lib/column-format-dialog.d.ts +13 -1
  2. package/lib/column-selection-dialog/lib/column-selection-dialog.d.ts +15 -2
  3. package/lib/column-selection-dialog/lib/column-selection-dialog.js +226 -23
  4. package/lib/column-selection-dialog/themes/halo/dark/column-selection-dialog.js +1 -1
  5. package/lib/column-selection-dialog/themes/halo/dark/es5/all-elements.js +1 -1
  6. package/lib/column-selection-dialog/themes/halo/light/column-selection-dialog.js +1 -1
  7. package/lib/column-selection-dialog/themes/halo/light/es5/all-elements.js +1 -1
  8. package/lib/core/dist/core.css +1 -1
  9. package/lib/core/dist/core.js +10158 -7908
  10. package/lib/core/dist/core.min.js +1 -1
  11. package/lib/core/es6/data/DataTable.js +32 -10
  12. package/lib/core/es6/data/DataView.d.ts +16 -7
  13. package/lib/core/es6/data/DataView.js +172 -49
  14. package/lib/core/es6/data/Segment.d.ts +2 -0
  15. package/lib/core/es6/data/Segment.js +7 -0
  16. package/lib/core/es6/data/WrappedView.d.ts +289 -0
  17. package/lib/core/es6/data/WrappedView.js +1319 -0
  18. package/lib/core/es6/grid/Core.d.ts +13 -0
  19. package/lib/core/es6/grid/Core.js +406 -160
  20. package/lib/core/es6/grid/ILayoutGrid.d.ts +8 -0
  21. package/lib/core/es6/grid/ILayoutGrid.js +45 -2
  22. package/lib/core/es6/grid/LayoutGrid.d.ts +10 -1
  23. package/lib/core/es6/grid/LayoutGrid.js +257 -82
  24. package/lib/core/es6/grid/VirtualizedLayoutGrid.d.ts +10 -1
  25. package/lib/core/es6/grid/VirtualizedLayoutGrid.js +316 -24
  26. package/lib/core/es6/grid/components/Column.js +8 -2
  27. package/lib/core/es6/grid/components/HScrollbar.d.ts +4 -0
  28. package/lib/core/es6/grid/components/HScrollbar.js +20 -4
  29. package/lib/core/es6/grid/util/TrackLayout.d.ts +1 -1
  30. package/lib/core/es6/grid/util/TrackLayout.js +2 -3
  31. package/lib/core/es6/tr-grid-theme.js +1 -1
  32. package/lib/filter-dialog/lib/checkbox-list.d.ts +13 -1
  33. package/lib/filter-dialog/lib/filter-dialog.d.ts +13 -1
  34. package/lib/filter-dialog/lib/filter-dialog.js +24 -9
  35. package/lib/grid/lib/efx-grid.d.ts +27 -8
  36. package/lib/grid/lib/efx-grid.js +114 -115
  37. package/lib/grid/themes/base.less +5 -3
  38. package/lib/grid/themes/halo/dark/efx-grid.js +1 -1
  39. package/lib/grid/themes/halo/dark/es5/all-elements.js +1 -1
  40. package/lib/grid/themes/halo/efx-grid.less +69 -32
  41. package/lib/grid/themes/halo/light/efx-grid.js +1 -1
  42. package/lib/grid/themes/halo/light/es5/all-elements.js +1 -1
  43. package/lib/grid/themes/solar/charcoal/efx-grid.js +1 -1
  44. package/lib/grid/themes/solar/charcoal/es5/all-elements.js +1 -1
  45. package/lib/grid/themes/solar/pearl/efx-grid.js +1 -1
  46. package/lib/grid/themes/solar/pearl/es5/all-elements.js +1 -1
  47. package/lib/index.d.ts +56 -56
  48. package/lib/index.js +56 -56
  49. package/lib/row-segmenting/es6/RowSegmenting.d.ts +1 -0
  50. package/lib/row-segmenting/es6/RowSegmenting.js +43 -12
  51. package/lib/rt-grid/dist/rt-grid.js +10293 -7865
  52. package/lib/rt-grid/dist/rt-grid.min.js +1 -1
  53. package/lib/rt-grid/es6/ColumnDefinition.d.ts +4 -1
  54. package/lib/rt-grid/es6/ColumnDefinition.js +3 -0
  55. package/lib/rt-grid/es6/Grid.d.ts +14 -7
  56. package/lib/rt-grid/es6/Grid.js +244 -75
  57. package/lib/rt-grid/es6/RowDefinition.d.ts +4 -1
  58. package/lib/rt-grid/es6/RowDefinition.js +52 -2
  59. package/lib/tr-grid-cell-selection/es6/CellSelection.d.ts +1 -1
  60. package/lib/tr-grid-cell-selection/es6/CellSelection.js +53 -40
  61. package/lib/tr-grid-checkbox/es6/Checkbox.d.ts +4 -1
  62. package/lib/tr-grid-checkbox/es6/Checkbox.js +41 -14
  63. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +1 -0
  64. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +10 -0
  65. package/lib/tr-grid-column-selection/es6/ColumnSelection.d.ts +5 -1
  66. package/lib/tr-grid-column-selection/es6/ColumnSelection.js +226 -4
  67. package/lib/tr-grid-column-stack/es6/ColumnStack.js +3 -0
  68. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +6 -1
  69. package/lib/tr-grid-filter-input/es6/FilterInput.d.ts +4 -2
  70. package/lib/tr-grid-filter-input/es6/FilterInput.js +73 -10
  71. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +1 -1
  72. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +13 -1
  73. package/lib/tr-grid-row-dragging/es6/RowDragging.d.ts +1 -3
  74. package/lib/tr-grid-row-dragging/es6/RowDragging.js +165 -70
  75. package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +2 -0
  76. package/lib/tr-grid-row-filtering/es6/RowFiltering.js +88 -33
  77. package/lib/tr-grid-row-grouping/es6/RowGrouping.js +41 -31
  78. package/lib/tr-grid-row-selection/es6/RowSelection.d.ts +13 -9
  79. package/lib/tr-grid-row-selection/es6/RowSelection.js +220 -29
  80. package/lib/tr-grid-rowcoloring/es6/RowColoring.d.ts +2 -0
  81. package/lib/tr-grid-rowcoloring/es6/RowColoring.js +36 -0
  82. package/lib/tr-grid-util/es6/CellPainter.d.ts +8 -8
  83. package/lib/tr-grid-util/es6/Conflator.d.ts +2 -2
  84. package/lib/tr-grid-util/es6/CoralItems.d.ts +1 -1
  85. package/lib/tr-grid-util/es6/DateTime.d.ts +4 -4
  86. package/lib/tr-grid-util/es6/Delay.d.ts +1 -1
  87. package/lib/tr-grid-util/es6/Dom.d.ts +4 -4
  88. package/lib/tr-grid-util/es6/ElementWrapper.d.ts +1 -1
  89. package/lib/tr-grid-util/es6/ElfDate.d.ts +3 -3
  90. package/lib/tr-grid-util/es6/ElfUtil.d.ts +4 -4
  91. package/lib/tr-grid-util/es6/EventDispatcher.d.ts +1 -1
  92. package/lib/tr-grid-util/es6/ExpanderIcon.js +2 -2
  93. package/lib/tr-grid-util/es6/FieldFormatter.d.ts +1 -1
  94. package/lib/tr-grid-util/es6/FilterBuilder.d.ts +5 -5
  95. package/lib/tr-grid-util/es6/GridPlugin.d.ts +3 -3
  96. package/lib/tr-grid-util/es6/MouseDownTrait.d.ts +1 -1
  97. package/lib/tr-grid-util/es6/MultiTableManager.d.ts +10 -2
  98. package/lib/tr-grid-util/es6/MultiTableManager.js +164 -57
  99. package/lib/tr-grid-util/es6/PercentBar.d.ts +1 -1
  100. package/lib/tr-grid-util/es6/Perf.d.ts +4 -4
  101. package/lib/tr-grid-util/es6/Popup.d.ts +2 -2
  102. package/lib/tr-grid-util/es6/RequestQueue.d.ts +1 -1
  103. package/lib/tr-grid-util/es6/RowPainter.d.ts +3 -0
  104. package/lib/tr-grid-util/es6/RowPainter.js +82 -20
  105. package/lib/tr-grid-util/es6/SubTable.d.ts +9 -9
  106. package/lib/tr-grid-util/es6/Table.d.ts +13 -13
  107. package/lib/tr-grid-util/es6/TextHighlighter.d.ts +3 -3
  108. package/lib/tr-grid-util/es6/TickCodes.d.ts +2 -2
  109. package/lib/tr-grid-util/es6/TouchProxy.d.ts +1 -1
  110. package/lib/tr-grid-util/es6/Util.d.ts +6 -6
  111. package/lib/tr-grid-util/es6/formula/Engine.d.ts +5 -5
  112. package/lib/tr-grid-util/es6/formula/Formula.d.ts +3 -3
  113. package/lib/tr-grid-util/es6/formula/RealtimeService.d.ts +1 -1
  114. package/lib/tr-grid-util/es6/jet/CollectionDict.d.ts +2 -2
  115. package/lib/tr-grid-util/es6/jet/DataGenerator.d.ts +4 -4
  116. package/lib/tr-grid-util/es6/jet/MockArchive.d.ts +1 -1
  117. package/lib/tr-grid-util/es6/jet/MockJET.d.ts +4 -4
  118. package/lib/tr-grid-util/es6/jet/MockQuotes.d.ts +11 -11
  119. package/lib/tr-grid-util/es6/jet/MockQuotes2.d.ts +7 -7
  120. package/lib/tr-grid-util/es6/jet/MockRTK.d.ts +1 -1
  121. package/lib/tr-grid-util/es6/jet/mockDataAPI.d.ts +1 -1
  122. package/lib/tr-grid-util/es6/jsx.d.ts +223 -0
  123. package/lib/types/es6/CellSelection.d.ts +1 -1
  124. package/lib/types/es6/Checkbox.d.ts +4 -1
  125. package/lib/types/es6/ColumnGrouping.d.ts +1 -0
  126. package/lib/types/es6/ColumnSelection.d.ts +5 -1
  127. package/lib/types/es6/Core/data/DataView.d.ts +16 -7
  128. package/lib/types/es6/Core/data/Segment.d.ts +2 -0
  129. package/lib/types/es6/Core/data/WrappedView.d.ts +289 -0
  130. package/lib/types/es6/Core/grid/Core.d.ts +13 -0
  131. package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +8 -0
  132. package/lib/types/es6/Core/grid/LayoutGrid.d.ts +10 -1
  133. package/lib/types/es6/Core/grid/VirtualizedLayoutGrid.d.ts +10 -1
  134. package/lib/types/es6/Core/grid/components/HScrollbar.d.ts +4 -0
  135. package/lib/types/es6/Core/grid/util/TrackLayout.d.ts +1 -1
  136. package/lib/types/es6/FilterInput.d.ts +4 -2
  137. package/lib/types/es6/InCellEditing.d.ts +1 -1
  138. package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +4 -1
  139. package/lib/types/es6/RealtimeGrid/Grid.d.ts +15 -8
  140. package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +4 -1
  141. package/lib/types/es6/RowColoring.d.ts +2 -0
  142. package/lib/types/es6/RowDragging.d.ts +1 -3
  143. package/lib/types/es6/RowFiltering.d.ts +2 -0
  144. package/lib/types/es6/RowSegmenting.d.ts +1 -0
  145. package/lib/types/es6/RowSelection.d.ts +13 -9
  146. package/lib/types/es6/Zoom.d.ts +2 -1
  147. package/lib/types/es6/index.d.ts +3 -0
  148. package/lib/versions.json +19 -19
  149. package/lib/zoom/es6/Zoom.d.ts +2 -1
  150. package/lib/zoom/es6/Zoom.js +11 -4
  151. package/package.json +9 -2
@@ -231,6 +231,42 @@ RowColoringPlugin.prototype.getConfigObject = function (gridOptions) {
231
231
  return obj;
232
232
  };
233
233
  /** @public
234
+ * @param {string} rowId
235
+ * @return {Object|null} If this row doesn't contain a config object, return null.
236
+ */
237
+
238
+
239
+ RowColoringPlugin.prototype.getRowConfigObject = function (rowId) {
240
+ // TODO: Should be call a method for get data from dataTable in tr-grid-util instead of call direct in dataTable
241
+ var dv = this._getDataView();
242
+
243
+ if (!dv) {
244
+ return null;
245
+ }
246
+
247
+ var dt = dv.getDataSource();
248
+
249
+ if (!dt) {
250
+ return null;
251
+ }
252
+
253
+ var rowData = this._rowGetter(dt.getRowData(rowId)); // get data from dataTable
254
+
255
+
256
+ if (!rowData) {
257
+ return null;
258
+ }
259
+
260
+ var obj = {}; // Only css field for predefine user color classes are currently supported
261
+
262
+ if (rowData[this._cssField]) {
263
+ obj[this._cssField] = rowData[this._cssField];
264
+ return obj;
265
+ }
266
+
267
+ return null;
268
+ };
269
+ /** @public
234
270
  * @param {string|number} rowRef Row id in the data table or row index
235
271
  * @param {(string|null)=} bgColor
236
272
  * @param {(string|null)=} txtColor
@@ -44,9 +44,9 @@ declare class CellPainter {
44
44
 
45
45
  constructor();
46
46
 
47
- public static readonly themeReady: Promise<any>;
47
+ public static readonly themeReady: Promise<any>|null;
48
48
 
49
- public static parse(expression: string|((...params: any[]) => any)): ((...params: any[]) => any);
49
+ public static parse(expression: string|((...params: any[]) => any)): ((...params: any[]) => any)|null;
50
50
 
51
51
  public dispose(): void;
52
52
 
@@ -64,9 +64,9 @@ declare class CellPainter {
64
64
 
65
65
  public applyThemeColor(): void;
66
66
 
67
- public getConditions(): (any)[];
67
+ public getConditions(): (any)[]|null;
68
68
 
69
- public getColoringType(): CellPainter.ColoringTypes;
69
+ public getColoringType(): CellPainter.ColoringTypes|null;
70
70
 
71
71
  public setConditions(conditions: (CellPainter.Condition)[]): void;
72
72
 
@@ -96,7 +96,7 @@ declare class CellPainter {
96
96
 
97
97
  public renderForPrinting(cell: Element, rowData: any, min: number, max: number): void;
98
98
 
99
- public static blendColor(baseColor: string, maxColor: string, ratio: number): (number)[];
99
+ public static blendColor(baseColor: string, maxColor: string, ratio: number): (number)[]|null;
100
100
 
101
101
  public static rgb2Hex(rgbCode: string): string;
102
102
 
@@ -104,15 +104,15 @@ declare class CellPainter {
104
104
 
105
105
  public static num2Rgb(triplet: (number)[]): string;
106
106
 
107
- public static hex2Num(hex: string): (number)[];
107
+ public static hex2Num(hex: string): (number)[]|null;
108
108
 
109
109
  public static hex2Rgb(hex: string): string;
110
110
 
111
111
  public static setThemeColors(): void;
112
112
 
113
- public static loadThemeColors(): Promise<any>;
113
+ public static loadThemeColors(): Promise<any>|null;
114
114
 
115
- public static reloadThemeColors(): Promise<any>;
115
+ public static reloadThemeColors(): Promise<any>|null;
116
116
 
117
117
  public static getOppositeColor(hexCode: string|(number)[]): string;
118
118
 
@@ -4,9 +4,9 @@ declare class Conflator {
4
4
 
5
5
  constructor(func?: (((...params: any[]) => any)|number), ms?: (number|((...params: any[]) => any)), thisObj?: any);
6
6
 
7
- public reset(): any[];
7
+ public reset(): any[]|null;
8
8
 
9
- public popAllData(): any[];
9
+ public popAllData(): any[]|null;
10
10
 
11
11
  public dispose(): void;
12
12
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  declare namespace CoralItems {
4
4
 
5
- function create(userItems: any[]): (any)[];
5
+ function create(userItems: any[]): (any)[]|null;
6
6
 
7
7
  }
8
8
 
@@ -41,13 +41,13 @@ declare const SECONDS_IN_HOUR: number;
41
41
 
42
42
  declare const SECONDS_IN_MINUTE: number;
43
43
 
44
- declare const SHORT_DAYS: (string)[];
44
+ declare const SHORT_DAYS: (string)[]|null;
45
45
 
46
- declare const FULL_DAYS: (string)[];
46
+ declare const FULL_DAYS: (string)[]|null;
47
47
 
48
- declare const SHORT_MONTHS: (string)[];
48
+ declare const SHORT_MONTHS: (string)[]|null;
49
49
 
50
- declare const FULL_MONTHS: (string)[];
50
+ declare const FULL_MONTHS: (string)[]|null;
51
51
 
52
52
  declare function prefixZero(num: number): string;
53
53
 
@@ -6,7 +6,7 @@ declare class Delay {
6
6
 
7
7
  public static readonly promise: Promise<any>;
8
8
 
9
- public static for(ms?: number, ctx?: any): Delay;
9
+ public static for(ms?: number, ctx?: any): Delay|null;
10
10
 
11
11
  public resolve(): void;
12
12
 
@@ -8,9 +8,9 @@ declare namespace Dom {
8
8
 
9
9
  function text(textContent?: string, className?: string): Element;
10
10
 
11
- function appendChild(parentElem: Element, children: Node|any[]): Element;
11
+ function appendChild(parentElem: Element, children: Node|any[]): Element|null;
12
12
 
13
- function buildTree(parentElem: Element, children: Node|any[]): Element;
13
+ function buildTree(parentElem: Element, children: Node|any[]): Element|null;
14
14
 
15
15
  function setContent(elem: Element, val: any): void;
16
16
 
@@ -22,9 +22,9 @@ declare namespace Dom {
22
22
 
23
23
  function getRelativePosition(A: Element|Event|MouseEvent, B: Element|Event|MouseEvent, retObj?: any): any;
24
24
 
25
- function closestElement(elem: Element|Node|undefined, classStr: string): Element;
25
+ function closestElement(elem: Element|Node|undefined, classStr: string): Element|null;
26
26
 
27
- function closestTagName(elem: Element|Node|undefined, tn: string): Element;
27
+ function closestTagName(elem: Element|Node|undefined, tn: string): Element|null;
28
28
 
29
29
  }
30
30
 
@@ -5,7 +5,7 @@ declare class ElementWrapper extends EventDispatcher {
5
5
 
6
6
  constructor();
7
7
 
8
- public getElement(): Element;
8
+ public getElement(): Element|null;
9
9
 
10
10
  public setParent(parent: Node|ElementWrapper): void;
11
11
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  declare namespace ElfDate {
4
4
 
5
- function from(val: any): Date;
5
+ function from(val: any): Date|null;
6
6
 
7
7
  function isValid(d: Date): boolean;
8
8
 
@@ -12,13 +12,13 @@ declare namespace ElfDate {
12
12
 
13
13
  function setDate(edtp: Element, val: any): void;
14
14
 
15
- function getDate(edtp: Element): Date;
15
+ function getDate(edtp: Element): Date|null;
16
16
 
17
17
  function compare(valA: any, valB: any): number;
18
18
 
19
19
  function equal(valA: any, valB: any): boolean;
20
20
 
21
- function extractDate(d: Date): (number)[];
21
+ function extractDate(d: Date): (number)[]|null;
22
22
 
23
23
  }
24
24
 
@@ -3,9 +3,9 @@ import { Deferred } from "./Deferred.js";
3
3
 
4
4
  declare namespace ElfUtil {
5
5
 
6
- const themeReady: Promise<any>;
6
+ const themeReady: Promise<any>|null;
7
7
 
8
- const themeColors: { [key: string]: string };
8
+ const themeColors: { [key: string]: string }|null;
9
9
 
10
10
  function getElfVersion(): number;
11
11
 
@@ -21,9 +21,9 @@ declare namespace ElfUtil {
21
21
 
22
22
  function getIconList(): (string)[];
23
23
 
24
- function prepareIconPreloading(): (string)[];
24
+ function prepareIconPreloading(): (string)[]|null;
25
25
 
26
- function getThemeColors(): Promise<any>;
26
+ function getThemeColors(): Promise<any>|null;
27
27
 
28
28
  function getMovementColorProfile(): string;
29
29
 
@@ -12,7 +12,7 @@ declare class EventDispatcher {
12
12
 
13
13
  public hasListener(type: string): boolean;
14
14
 
15
- public getListener(type: string, idx?: number): ((...params: any[]) => any);
15
+ public getListener(type: string, idx?: number): ((...params: any[]) => any)|null;
16
16
 
17
17
  public addListener(obj: any, type: string): void;
18
18
 
@@ -39,10 +39,10 @@ ExpanderIcon._iconName = ""; // static variable
39
39
  * @private
40
40
  */
41
41
  ExpanderIcon._styles = prettifyCss([
42
- ".tr-grid .expander-disabled .expander", [
42
+ ".tr-grid.expander-disabled .expander", [
43
43
  "cursor: default;"
44
44
  ],
45
- ".tr-grid .folder-disabled .column .cell.folder", [
45
+ ".tr-grid.folder-disabled .cell.folder", [
46
46
  "cursor: default;"
47
47
  ],
48
48
  ".tr-grid .expander", [
@@ -25,7 +25,7 @@ declare class FieldFormatter {
25
25
 
26
26
  public getField(): string;
27
27
 
28
- public clone(): FieldFormatter;
28
+ public clone(): FieldFormatter|null;
29
29
 
30
30
  public setFormatType(type: string): void;
31
31
 
@@ -32,17 +32,17 @@ declare class FilterBuilder {
32
32
 
33
33
  public addConditions(conditions: FilterBuilder.Conditions): number;
34
34
 
35
- public getConditions(): FilterBuilder.Conditions;
35
+ public getConditions(): FilterBuilder.Conditions|null;
36
36
 
37
- public buildFilter(): ((...params: any[]) => any);
37
+ public buildFilter(): ((...params: any[]) => any)|null;
38
38
 
39
- public buildMonitorFilter(filterStr: string, field: string, formatter?: ((...params: any[]) => any), formattedField?: string): ((...params: any[]) => any);
39
+ public buildMonitorFilter(filterStr: string, field: string, formatter?: ((...params: any[]) => any), formattedField?: string): ((...params: any[]) => any)|null;
40
40
 
41
- public parse(condition: any, field?: string, formatter?: ((...params: any[]) => any), formattedField?: string, rawDataAccessor?: ((...params: any[]) => any), formattedDataAccessor?: ((...params: any[]) => any)): ((...params: any[]) => any);
41
+ public parse(condition: any, field?: string, formatter?: ((...params: any[]) => any), formattedField?: string, rawDataAccessor?: ((...params: any[]) => any), formattedDataAccessor?: ((...params: any[]) => any)): ((...params: any[]) => any)|null;
42
42
 
43
43
  }
44
44
 
45
- declare function buildFilterFromObjectMap(obj: any, field: string, rawDataAccessor?: ((...params: any[]) => any)): ((...params: any[]) => any);
45
+ declare function buildFilterFromObjectMap(obj: any, field: string, rawDataAccessor?: ((...params: any[]) => any)): ((...params: any[]) => any)|null;
46
46
 
47
47
  export default FilterBuilder;
48
48
  export { FilterBuilder, buildFilterFromObjectMap };
@@ -20,7 +20,7 @@ declare class GridPlugin extends EventDispatcher {
20
20
 
21
21
  public unload(host?: any): void;
22
22
 
23
- public getRelativeGrid(e: Event|Element|any): any;
23
+ public getRelativeGrid(e: Event|Element|any): any|null;
24
24
 
25
25
  public setGridWrapper(gridType: string, wrapperInstance: any): void;
26
26
 
@@ -30,13 +30,13 @@ declare class GridPlugin extends EventDispatcher {
30
30
 
31
31
  public getColumnIndex(colId: number|string): number;
32
32
 
33
- public getColumnIndices(colRefs: (number|string)[]): (number)[];
33
+ public getColumnIndices(colRefs: (number|string)[]): (number)[]|null;
34
34
 
35
35
  public getColumnId(colIndex: number|string): string;
36
36
 
37
37
  public getColumnCount(): number;
38
38
 
39
- public static requestPlugin(ref: any, pluginRef: any, configObj?: any, compositeGrid?: any, realTimeGrid?: any): Promise<any>;
39
+ public static requestPlugin(ref: any, pluginRef: any, configObj?: any, compositeGrid?: any, realTimeGrid?: any): Promise<any>|null;
40
40
 
41
41
  }
42
42
 
@@ -22,7 +22,7 @@ declare class MouseDownTrait extends EventDispatcher {
22
22
 
23
23
  public enable(opt_bool?: boolean): void;
24
24
 
25
- public getElement(): Element;
25
+ public getElement(): Element|null;
26
26
 
27
27
  public setElement(elem?: Element): void;
28
28
 
@@ -8,7 +8,7 @@ declare class MultiTableManager {
8
8
 
9
9
  constructor(gridElem: Element);
10
10
 
11
- public static synchronizeVScrollbar(vScrollbarHost: Element, hScrollbarHost: Element, gridElems: (Element)[]): Promise<any[]>;
11
+ public static synchronizeVScrollbar(vScrollbarHost: Element, hScrollbarHost: Element, gridElems: (Element)[]): Promise<any[]>|null;
12
12
 
13
13
  public setGridConfig(configObj?: any): void;
14
14
 
@@ -18,7 +18,9 @@ declare class MultiTableManager {
18
18
 
19
19
  public setTableCount(num: number): void;
20
20
 
21
- public getTable(at?: number): Element;
21
+ public wrapTable(rowCount: number): void;
22
+
23
+ public getTable(at?: number): Element|null;
22
24
 
23
25
  public insertRow(rowOption?: any, at?: number): void;
24
26
 
@@ -26,6 +28,12 @@ declare class MultiTableManager {
26
28
 
27
29
  public getRowCount(): number;
28
30
 
31
+ public insertColumn(columnOption: any, idx?: number): void;
32
+
33
+ public removeColumn(colRef: any): void;
34
+
35
+ public getColumnCount(): number;
36
+
29
37
  }
30
38
 
31
39
  export default MultiTableManager;