@refinitiv-ui/efx-grid 6.0.4 → 6.0.6

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 (277) hide show
  1. package/lib/column-dragging/es6/ColumnDragging.d.ts +13 -11
  2. package/lib/column-dragging/es6/ColumnDragging.js +21 -15
  3. package/lib/column-format-dialog/lib/column-format-dialog.d.ts +1 -1
  4. package/lib/column-format-dialog/lib/column-format-dialog.js +3 -4
  5. package/lib/column-format-dialog/lib/preview-table.js +3 -4
  6. package/lib/column-selection-dialog/lib/column-selection-dialog.d.ts +2 -2
  7. package/lib/column-selection-dialog/lib/column-selection-dialog.js +23 -7
  8. package/lib/core/dist/core.css +1 -1
  9. package/lib/core/dist/core.js +392 -230
  10. package/lib/core/dist/core.min.js +1 -1
  11. package/lib/core/es6/data/ColumnStats.d.ts +3 -3
  12. package/lib/core/es6/data/DataCache.d.ts +9 -9
  13. package/lib/core/es6/data/DataTable.d.ts +28 -28
  14. package/lib/core/es6/data/DataTable.js +33 -10
  15. package/lib/core/es6/data/DataView.d.ts +62 -62
  16. package/lib/core/es6/data/DataView.js +42 -22
  17. package/lib/core/es6/data/Segment.d.ts +4 -4
  18. package/lib/core/es6/data/SegmentCollection.d.ts +7 -7
  19. package/lib/core/es6/data/WrappedView.d.ts +62 -62
  20. package/lib/core/es6/grid/Core.d.ts +97 -95
  21. package/lib/core/es6/grid/Core.js +180 -26
  22. package/lib/core/es6/grid/ILayoutGrid.d.ts +20 -20
  23. package/lib/core/es6/grid/ILayoutGrid.js +2 -1
  24. package/lib/core/es6/grid/LayoutGrid.d.ts +2 -2
  25. package/lib/core/es6/grid/LayoutGrid.js +18 -10
  26. package/lib/core/es6/grid/VirtualizedLayoutGrid.d.ts +2 -2
  27. package/lib/core/es6/grid/VirtualizedLayoutGrid.js +14 -3
  28. package/lib/core/es6/grid/components/Cell.d.ts +6 -6
  29. package/lib/core/es6/grid/components/CellFloatingPanel.d.ts +2 -2
  30. package/lib/core/es6/grid/components/CellSpans.d.ts +2 -2
  31. package/lib/core/es6/grid/components/Column.d.ts +2 -2
  32. package/lib/core/es6/grid/components/ElementWrapper.d.ts +19 -19
  33. package/lib/core/es6/grid/components/Scrollbar.d.ts +11 -9
  34. package/lib/core/es6/grid/components/Scrollbar.js +13 -0
  35. package/lib/core/es6/grid/components/StretchedCells.js +12 -2
  36. package/lib/core/es6/grid/event/EventDispatcher.d.ts +3 -3
  37. package/lib/core/es6/grid/event/EventListeners.d.ts +5 -5
  38. package/lib/core/es6/grid/plugins/SortableTitlePlugin.d.ts +45 -44
  39. package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +62 -65
  40. package/lib/core/es6/grid/util/Conflator.d.ts +4 -4
  41. package/lib/core/es6/grid/util/HttpRequest.d.ts +3 -3
  42. package/lib/core/es6/grid/util/PercentBar.d.ts +8 -8
  43. package/lib/core/es6/grid/util/PercentBarRenderer.d.ts +8 -8
  44. package/lib/core/es6/grid/util/RangeBar.d.ts +1 -1
  45. package/lib/core/es6/grid/util/RangeBar.js +1 -1
  46. package/lib/core/es6/grid/util/Reverter.d.ts +1 -1
  47. package/lib/core/es6/grid/util/SectionSettings.d.ts +13 -13
  48. package/lib/core/es6/grid/util/SelectionList.d.ts +2 -2
  49. package/lib/core/es6/grid/util/TrackLayout.d.ts +9 -9
  50. package/lib/core/es6/grid/util/Virtualizer.d.ts +3 -3
  51. package/lib/core/es6/grid/util/util.d.ts +6 -4
  52. package/lib/core/es6/grid/util/util.js +16 -91
  53. package/lib/core/es6/tr-grid-theme.js +1 -1
  54. package/lib/filter-dialog/lib/checkbox-list.d.ts +1 -1
  55. package/lib/filter-dialog/lib/filter-dialog.d.ts +1 -1
  56. package/lib/filter-dialog/lib/filter-dialog.js +27 -9
  57. package/lib/filter-dialog/themes/base-checkbox.less +0 -1
  58. package/lib/filter-dialog/themes/base.less +1 -1
  59. package/lib/filter-dialog/themes/elemental/dark/checkbox-list.js +1 -1
  60. package/lib/filter-dialog/themes/elemental/dark/es5/all-elements.js +2 -2
  61. package/lib/filter-dialog/themes/elemental/dark/filter-dialog.js +1 -1
  62. package/lib/filter-dialog/themes/elemental/light/checkbox-list.js +1 -1
  63. package/lib/filter-dialog/themes/elemental/light/es5/all-elements.js +2 -2
  64. package/lib/filter-dialog/themes/elemental/light/filter-dialog.js +1 -1
  65. package/lib/filter-dialog/themes/halo/dark/checkbox-list.js +1 -1
  66. package/lib/filter-dialog/themes/halo/dark/es5/all-elements.js +2 -2
  67. package/lib/filter-dialog/themes/halo/dark/filter-dialog.js +1 -1
  68. package/lib/filter-dialog/themes/halo/light/checkbox-list.js +1 -1
  69. package/lib/filter-dialog/themes/halo/light/es5/all-elements.js +2 -2
  70. package/lib/filter-dialog/themes/halo/light/filter-dialog.js +1 -1
  71. package/lib/filter-dialog/themes/solar/charcoal/checkbox-list.js +1 -1
  72. package/lib/filter-dialog/themes/solar/charcoal/es5/all-elements.js +2 -2
  73. package/lib/filter-dialog/themes/solar/charcoal/filter-dialog.js +1 -1
  74. package/lib/filter-dialog/themes/solar/pearl/checkbox-list.js +1 -1
  75. package/lib/filter-dialog/themes/solar/pearl/es5/all-elements.js +2 -2
  76. package/lib/filter-dialog/themes/solar/pearl/filter-dialog.js +1 -1
  77. package/lib/grid/index.js +1 -1
  78. package/lib/grid/lib/efx-grid.js +7 -44
  79. package/lib/grid/themes/halo/dark/efx-grid.js +1 -1
  80. package/lib/grid/themes/halo/dark/es5/all-elements.js +1 -1
  81. package/lib/grid/themes/halo/efx-grid.less +5 -5
  82. package/lib/grid/themes/halo/light/efx-grid.js +1 -1
  83. package/lib/grid/themes/halo/light/es5/all-elements.js +1 -1
  84. package/lib/row-segmenting/es6/RowSegmenting.d.ts +30 -24
  85. package/lib/row-segmenting/es6/RowSegmenting.js +122 -21
  86. package/lib/rt-grid/dist/rt-grid.js +1354 -435
  87. package/lib/rt-grid/dist/rt-grid.min.js +1 -1
  88. package/lib/rt-grid/es6/ColumnDefinition.d.ts +46 -42
  89. package/lib/rt-grid/es6/ColumnDefinition.js +31 -1
  90. package/lib/rt-grid/es6/DataConnector.d.ts +6 -4
  91. package/lib/rt-grid/es6/DataConnector.js +8 -0
  92. package/lib/rt-grid/es6/FieldDefinition.d.ts +2 -2
  93. package/lib/rt-grid/es6/FieldDefinition.js +12 -5
  94. package/lib/rt-grid/es6/Grid.d.ts +106 -91
  95. package/lib/rt-grid/es6/Grid.js +151 -106
  96. package/lib/rt-grid/es6/ReferenceCounter.d.ts +5 -5
  97. package/lib/rt-grid/es6/RowDefSorter.d.ts +2 -2
  98. package/lib/rt-grid/es6/RowDefinition.d.ts +22 -22
  99. package/lib/rt-grid/es6/RowDefinition.js +12 -5
  100. package/lib/rt-grid/es6/SnapshotFiller.d.ts +5 -2
  101. package/lib/rt-grid/es6/SnapshotFiller.js +121 -15
  102. package/lib/rt-grid/es6/StyleLoader.d.ts +1 -1
  103. package/lib/tr-grid-cell-selection/es6/CellSelection.d.ts +11 -11
  104. package/lib/tr-grid-cell-selection/es6/CellSelection.js +20 -35
  105. package/lib/tr-grid-checkbox/es6/Checkbox.d.ts +18 -16
  106. package/lib/tr-grid-checkbox/es6/Checkbox.js +1 -0
  107. package/lib/tr-grid-column-formatting/es6/ColumnFormatting.d.ts +29 -27
  108. package/lib/tr-grid-column-formatting/es6/ColumnFormatting.js +1 -0
  109. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +28 -14
  110. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +556 -11
  111. package/lib/tr-grid-column-resizing/es6/ColumnResizing.d.ts +2 -2
  112. package/lib/tr-grid-column-resizing/es6/ColumnResizing.js +1 -0
  113. package/lib/tr-grid-column-selection/es6/ColumnSelection.js +2 -3
  114. package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +15 -13
  115. package/lib/tr-grid-column-stack/es6/ColumnStack.js +96 -72
  116. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.d.ts +14 -4
  117. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +314 -114
  118. package/lib/tr-grid-content-wrap/es6/ContentWrap.js +1 -6
  119. package/lib/tr-grid-contextmenu/es6/ContextMenu.js +3 -3
  120. package/lib/tr-grid-contextmenu/es6/MenuEventAPI.d.ts +2 -2
  121. package/lib/tr-grid-contextmenu/es6/MenuItem.d.ts +2 -2
  122. package/lib/tr-grid-heat-map/es6/HeatMap.d.ts +2 -1
  123. package/lib/tr-grid-heat-map/es6/HeatMap.js +6 -9
  124. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +5 -2
  125. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +311 -71
  126. package/lib/tr-grid-percent-bar/es6/PercentBar.d.ts +1 -1
  127. package/lib/tr-grid-percent-bar/es6/PercentBar.js +8 -11
  128. package/lib/tr-grid-printer/es6/SectionWriter.js +8 -0
  129. package/lib/tr-grid-range-bar/es6/RangeBar.js +3 -10
  130. package/lib/tr-grid-row-dragging/es6/RowDragging.d.ts +6 -0
  131. package/lib/tr-grid-row-dragging/es6/RowDragging.js +56 -23
  132. package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +4 -3
  133. package/lib/tr-grid-row-filtering/es6/RowFiltering.js +57 -13
  134. package/lib/tr-grid-row-grouping/es6/RowGrouping.js +1 -1
  135. package/lib/tr-grid-row-selection/es6/RowSelection.js +16 -13
  136. package/lib/tr-grid-rowcoloring/es6/RowColoring.d.ts +0 -2
  137. package/lib/tr-grid-rowcoloring/es6/RowColoring.js +1 -40
  138. package/lib/tr-grid-util/es6/CellPainter.d.ts +30 -30
  139. package/lib/tr-grid-util/es6/CellPainter.js +9 -8
  140. package/lib/tr-grid-util/es6/Conflator.d.ts +4 -4
  141. package/lib/tr-grid-util/es6/CoralItems.d.ts +1 -1
  142. package/lib/tr-grid-util/es6/DateTime.d.ts +10 -10
  143. package/lib/tr-grid-util/es6/Deferred.d.ts +3 -1
  144. package/lib/tr-grid-util/es6/Deferred.js +11 -1
  145. package/lib/tr-grid-util/es6/Delay.d.ts +2 -2
  146. package/lib/tr-grid-util/es6/Dom.d.ts +10 -10
  147. package/lib/tr-grid-util/es6/Dom.js +14 -10
  148. package/lib/tr-grid-util/es6/DragUI.js +5 -2
  149. package/lib/tr-grid-util/es6/ElementObserver.d.ts +2 -2
  150. package/lib/tr-grid-util/es6/ElementObserver.js +6 -3
  151. package/lib/tr-grid-util/es6/ElementWrapper.d.ts +4 -4
  152. package/lib/tr-grid-util/es6/ElfDate.d.ts +5 -5
  153. package/lib/tr-grid-util/es6/ElfDate.js +1 -0
  154. package/lib/tr-grid-util/es6/ElfUtil.d.ts +13 -4
  155. package/lib/tr-grid-util/es6/ElfUtil.js +178 -26
  156. package/lib/tr-grid-util/es6/EventDispatcher.d.ts +5 -5
  157. package/lib/tr-grid-util/es6/ExpanderIcon.d.ts +2 -2
  158. package/lib/tr-grid-util/es6/ExpanderIcon.js +1 -1
  159. package/lib/tr-grid-util/es6/Ext.d.ts +1 -1
  160. package/lib/tr-grid-util/es6/FieldFormatter.d.ts +12 -12
  161. package/lib/tr-grid-util/es6/FieldFormatter.js +1 -1
  162. package/lib/tr-grid-util/es6/FilterBuilder.d.ts +13 -13
  163. package/lib/tr-grid-util/es6/FilterBuilder.js +15 -8
  164. package/lib/tr-grid-util/es6/FilterOperators.d.ts +22 -22
  165. package/lib/tr-grid-util/es6/FilterOperators.js +3 -3
  166. package/lib/tr-grid-util/es6/GridPlugin.d.ts +10 -10
  167. package/lib/tr-grid-util/es6/GridPlugin.js +20 -0
  168. package/lib/tr-grid-util/es6/Icon.d.ts +3 -3
  169. package/lib/tr-grid-util/es6/MouseDownTrait.d.ts +8 -8
  170. package/lib/tr-grid-util/es6/MultiTableManager.d.ts +6 -6
  171. package/lib/tr-grid-util/es6/NumberFormatter.d.ts +19 -19
  172. package/lib/tr-grid-util/es6/NumberFormatter.js +1 -1
  173. package/lib/tr-grid-util/es6/PercentBar.d.ts +19 -19
  174. package/lib/tr-grid-util/es6/Perf.d.ts +4 -4
  175. package/lib/tr-grid-util/es6/Popup.d.ts +36 -33
  176. package/lib/tr-grid-util/es6/Popup.js +19 -1
  177. package/lib/tr-grid-util/es6/RangeBar.d.ts +5 -5
  178. package/lib/tr-grid-util/es6/RequestQueue.d.ts +4 -4
  179. package/lib/tr-grid-util/es6/RowPainter.d.ts +37 -4
  180. package/lib/tr-grid-util/es6/RowPainter.js +199 -76
  181. package/lib/tr-grid-util/es6/SubTable.d.ts +14 -14
  182. package/lib/tr-grid-util/es6/Table.d.ts +25 -25
  183. package/lib/tr-grid-util/es6/TextHighlighter.d.ts +1 -1
  184. package/lib/tr-grid-util/es6/Timer.d.ts +1 -1
  185. package/lib/tr-grid-util/es6/TouchProxy.d.ts +9 -9
  186. package/lib/tr-grid-util/es6/Util.d.ts +12 -12
  187. package/lib/tr-grid-util/es6/formula/ADCService.d.ts +1 -1
  188. package/lib/tr-grid-util/es6/formula/ADCSubscription.d.ts +1 -1
  189. package/lib/tr-grid-util/es6/formula/AdFinService.d.ts +1 -1
  190. package/lib/tr-grid-util/es6/formula/AdFinSubscription.d.ts +1 -1
  191. package/lib/tr-grid-util/es6/formula/Engine.d.ts +9 -9
  192. package/lib/tr-grid-util/es6/formula/Formula.d.ts +4 -4
  193. package/lib/tr-grid-util/es6/formula/IntervalSubscription.d.ts +1 -1
  194. package/lib/tr-grid-util/es6/formula/Realtime.d.ts +3 -3
  195. package/lib/tr-grid-util/es6/formula/RealtimeService.d.ts +1 -1
  196. package/lib/tr-grid-util/es6/formula/TSIService.d.ts +1 -1
  197. package/lib/tr-grid-util/es6/formula/TSISubscription.d.ts +1 -1
  198. package/lib/tr-grid-util/es6/formula/VariableToken.d.ts +1 -1
  199. package/lib/tr-grid-util/es6/jet/CollectionDict.d.ts +1 -1
  200. package/lib/tr-grid-util/es6/jet/DataGenerator.d.ts +34 -34
  201. package/lib/tr-grid-util/es6/jet/MockArchive.d.ts +1 -1
  202. package/lib/tr-grid-util/es6/jet/MockJET.d.ts +4 -4
  203. package/lib/tr-grid-util/es6/jet/MockJET.js +12 -4
  204. package/lib/tr-grid-util/es6/jet/MockQuotes.d.ts +9 -9
  205. package/lib/tr-grid-util/es6/jet/MockQuotes2.d.ts +17 -9
  206. package/lib/tr-grid-util/es6/jet/MockQuotes2.js +84 -24
  207. package/lib/tr-grid-util/es6/jet/MockRTK.d.ts +42 -2
  208. package/lib/tr-grid-util/es6/jet/MockRTK.js +55 -16
  209. package/lib/tr-grid-util/es6/jet/mockDataAPI.d.ts +2 -2
  210. package/lib/tr-grid-util/es6/jet/mockDataAPI.js +99 -1
  211. package/lib/types/es6/Checkbox.d.ts +18 -16
  212. package/lib/types/es6/ColumnFormatting.d.ts +29 -27
  213. package/lib/types/es6/ColumnGrouping.d.ts +28 -14
  214. package/lib/types/es6/ColumnResizing.d.ts +2 -2
  215. package/lib/types/es6/ColumnStack.d.ts +15 -13
  216. package/lib/types/es6/CompositeGrid/ColumnSelectionPlugin.d.ts +4 -2
  217. package/lib/types/es6/CompositeGrid/ColumnWidthAdjustingPlugin.d.ts +0 -1
  218. package/lib/types/es6/CompositeGrid/CompositeGrid.d.ts +1 -1
  219. package/lib/types/es6/CompositeGrid/DragAndDropTitlePlugin.d.ts +1 -1
  220. package/lib/types/es6/CompositeGrid/DraggableContentPlugin.d.ts +1 -5
  221. package/lib/types/es6/CompositeGrid/Plugin.d.ts +3 -1
  222. package/lib/types/es6/CompositeGrid/ResizableTitlePlugin.d.ts +2 -1
  223. package/lib/types/es6/CompositeGrid/RowSelectionPlugin.d.ts +2 -1
  224. package/lib/types/es6/CompositeGrid/TextWidthCalculator.d.ts +1 -1
  225. package/lib/types/es6/CompositeGrid/TreeIndentingPlugin.d.ts +0 -1
  226. package/lib/types/es6/ConditionalColoring.d.ts +14 -4
  227. package/lib/types/es6/Core/data/ColumnStats.d.ts +3 -3
  228. package/lib/types/es6/Core/data/DataCache.d.ts +9 -9
  229. package/lib/types/es6/Core/data/DataTable.d.ts +28 -28
  230. package/lib/types/es6/Core/data/DataView.d.ts +62 -62
  231. package/lib/types/es6/Core/data/Segment.d.ts +4 -4
  232. package/lib/types/es6/Core/data/SegmentCollection.d.ts +7 -7
  233. package/lib/types/es6/Core/data/WrappedView.d.ts +62 -62
  234. package/lib/types/es6/Core/grid/Core.d.ts +97 -95
  235. package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +20 -20
  236. package/lib/types/es6/Core/grid/LayoutGrid.d.ts +2 -2
  237. package/lib/types/es6/Core/grid/VirtualizedLayoutGrid.d.ts +2 -2
  238. package/lib/types/es6/Core/grid/components/Cell.d.ts +6 -6
  239. package/lib/types/es6/Core/grid/components/CellFloatingPanel.d.ts +2 -2
  240. package/lib/types/es6/Core/grid/components/CellSpans.d.ts +2 -2
  241. package/lib/types/es6/Core/grid/components/Column.d.ts +2 -2
  242. package/lib/types/es6/Core/grid/components/ElementWrapper.d.ts +19 -19
  243. package/lib/types/es6/Core/grid/components/Scrollbar.d.ts +11 -9
  244. package/lib/types/es6/Core/grid/event/EventDispatcher.d.ts +3 -3
  245. package/lib/types/es6/Core/grid/event/EventListeners.d.ts +5 -5
  246. package/lib/types/es6/Core/grid/plugins/SortableTitlePlugin.d.ts +45 -44
  247. package/lib/types/es6/Core/grid/util/Conflator.d.ts +4 -4
  248. package/lib/types/es6/Core/grid/util/HttpRequest.d.ts +3 -3
  249. package/lib/types/es6/Core/grid/util/PercentBar.d.ts +8 -8
  250. package/lib/types/es6/Core/grid/util/PercentBarRenderer.d.ts +8 -8
  251. package/lib/types/es6/Core/grid/util/RangeBar.d.ts +1 -1
  252. package/lib/types/es6/Core/grid/util/Reverter.d.ts +1 -1
  253. package/lib/types/es6/Core/grid/util/SectionSettings.d.ts +13 -13
  254. package/lib/types/es6/Core/grid/util/SelectionList.d.ts +2 -2
  255. package/lib/types/es6/Core/grid/util/TrackLayout.d.ts +9 -9
  256. package/lib/types/es6/Core/grid/util/Virtualizer.d.ts +3 -3
  257. package/lib/types/es6/Core/grid/util/util.d.ts +6 -4
  258. package/lib/types/es6/HeatMap.d.ts +2 -1
  259. package/lib/types/es6/InCellEditing.d.ts +5 -2
  260. package/lib/types/es6/MenuEventAPI.d.ts +2 -2
  261. package/lib/types/es6/MenuItem.d.ts +2 -2
  262. package/lib/types/es6/PercentBar.d.ts +1 -1
  263. package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +46 -42
  264. package/lib/types/es6/RealtimeGrid/DataConnector.d.ts +6 -4
  265. package/lib/types/es6/RealtimeGrid/FieldDefinition.d.ts +2 -2
  266. package/lib/types/es6/RealtimeGrid/Grid.d.ts +104 -89
  267. package/lib/types/es6/RealtimeGrid/ReferenceCounter.d.ts +5 -5
  268. package/lib/types/es6/RealtimeGrid/RowDefSorter.d.ts +2 -2
  269. package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +22 -22
  270. package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +5 -2
  271. package/lib/types/es6/RealtimeGrid/StyleLoader.d.ts +1 -1
  272. package/lib/types/es6/RowColoring.d.ts +0 -2
  273. package/lib/types/es6/RowDragging.d.ts +6 -0
  274. package/lib/types/es6/RowFiltering.d.ts +4 -3
  275. package/lib/types/es6/RowSegmenting.d.ts +30 -24
  276. package/lib/versions.json +26 -26
  277. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ /* eslint-disable */
2
+ import Grid from "./Grid.js";
1
3
  import {Ext} from "../../tr-grid-util/es6/Ext.js";
2
4
  import {EventDispatcher} from "../../tr-grid-util/es6/EventDispatcher.js";
3
5
 
@@ -21,6 +23,9 @@ var SnapshotFiller = function () {
21
23
 
22
24
  this._rics = {};
23
25
  this._fields = {};
26
+ this._adcOptions = { // TODO: support requesting level parameter
27
+ productId: "001"
28
+ };
24
29
  };
25
30
  Ext.inherits(SnapshotFiller, EventDispatcher);
26
31
 
@@ -41,6 +46,10 @@ SnapshotFiller.prototype._fields;
41
46
  * @private
42
47
  */
43
48
  SnapshotFiller.prototype._rtk;
49
+ /** @type {!Grid~ADCOptions}
50
+ * @private
51
+ */
52
+ SnapshotFiller.prototype._adcOptions = null;
44
53
  //#endregion Private Members
45
54
 
46
55
  /** @public
@@ -50,6 +59,26 @@ SnapshotFiller.prototype.setRTK = function (rtk) {
50
59
  this._rtk = rtk;
51
60
  };
52
61
 
62
+ /** @public
63
+ * @param {Grid~ADCOptions} adcOptions ADC requesting level parameter options
64
+ */
65
+ SnapshotFiller.prototype.setADCOptions = function (adcOptions) {
66
+
67
+ var val = adcOptions["productId"];
68
+ if(val) {
69
+ this._adcOptions.productId = val;
70
+ }
71
+ // TODO: support requesting level parameter https://confluence.refinitiv.com/display/ADC/Request+level+parameters
72
+ // var val = adcOptions["lang"];
73
+ // if(val) {
74
+ // this._adcOptions.lang = val;
75
+ // }
76
+ // var val = adcOptions["cache"];
77
+ // if(val) {
78
+ // this._adcOptions.cache = val;
79
+ // }
80
+ };
81
+
53
82
  /** @public
54
83
  * @param {string} ric
55
84
  */
@@ -167,29 +196,37 @@ SnapshotFiller.prototype._onRequest = function () {
167
196
  return;
168
197
  }
169
198
 
170
- var reqFields = [];
171
- for(i = 0; i < fieldLen; i++) {
172
- reqFields.push({ "name": fields[i] });
173
- }
174
-
175
199
  // Clean up members, preparing for the next request
176
200
  this._rics = {};
177
201
  this._fields = {};
178
202
 
179
- var payload = {
180
- "instruments": instruments,
181
- "fields": reqFields
182
- };
183
-
184
- var onSuccess = this._onSuccess.bind(this, fields);
203
+ var onSuccess, payload;
185
204
  if (this._rtk) {
186
- this._rtk.Data.DataGrid
205
+ var strFields = fields.join(',');
206
+ payload = {
207
+ "method": "select",
208
+ "formula": strFields,
209
+ "identifiers": instruments,
210
+ "productId": this._adcOptions.productId,
211
+ "output": "Col,In,va,T,NoEmptyTickers" // For customize output server, for more information please visit "https://confluence.refinitiv.com/display/ADC/Data+Cloud+Output+Format"
212
+ };
213
+ onSuccess = this._onRTKSuccess.bind(this, fields);
214
+ this._rtk.Data.Adc
187
215
  .request(payload)
188
216
  .then(onSuccess)
189
217
  .catch(function (err) {
190
218
  console.log(err);
191
219
  });
192
220
  } else {
221
+ var reqFields = [];
222
+ for(i = 0; i < fieldLen; i++) {
223
+ reqFields.push({ "name": fields[i] });
224
+ }
225
+ payload = {
226
+ "instruments": instruments,
227
+ "fields": reqFields
228
+ };
229
+ onSuccess = this._onJETSuccess.bind(this, fields);
193
230
  jet["Data"]("datagrid")
194
231
  .then(function (service) { return service["request"](payload); })
195
232
  .then(JSON.parse)
@@ -205,16 +242,15 @@ SnapshotFiller.prototype._onRequest = function () {
205
242
  * @param {Array.<string>} fields
206
243
  * @param {string} serverResult
207
244
  */
208
- SnapshotFiller.prototype._onSuccess = function (fields, serverResult) {
245
+ SnapshotFiller.prototype._onJETSuccess = function (fields, serverResult) {
246
+ this._dispatch("adcDataReceived", serverResult);
209
247
  var data2D = serverResult["data"];
210
248
  var svHeaders = serverResult["headers"] && serverResult["headers"][0];
211
249
 
212
250
  if (!Array.isArray(data2D) || !Array.isArray(svHeaders)) {
213
- console.log("Invalid server response detected");
214
251
  return; //TODO: Return Promise.reject(errMsg);
215
252
  }
216
253
 
217
- this._dispatch("adcDataReceived", serverResult);
218
254
 
219
255
  // Server will return field only in UPPERCASE
220
256
  // ex. requestField = TR.Volume ===> serverField = TR.VOLUME
@@ -271,5 +307,75 @@ SnapshotFiller.prototype._onSuccess = function (fields, serverResult) {
271
307
  });
272
308
  };
273
309
 
310
+ /** @private
311
+ * @function
312
+ * @param {Array.<string>} fields
313
+ * @param {string} serverResult
314
+ */
315
+ SnapshotFiller.prototype._onRTKSuccess = function (fields, serverResult) {
316
+ this._dispatch("adcDataReceived", serverResult);
317
+ var data2D = serverResult["rows"];
318
+ var svHeaders = serverResult["rows"] && serverResult["rows"][0];
319
+ if (!Array.isArray(data2D) || !Array.isArray(svHeaders)) {
320
+ return; //TODO: Return Promise.reject(errMsg);
321
+ }
322
+
323
+ // Server will return field only in UPPERCASE
324
+ // ex. requestField = TR.Volume ===> serverField = TR.VOLUME
325
+ // so we need convert UPPERCASE to be original
326
+ var i, field, ric;
327
+ var j = 1; // to skip instrument index, use j = 1
328
+ var fLength = fields.length;
329
+ var hLength = svHeaders.length;
330
+ var headers = new Array(hLength);
331
+ for (i = 0; i < fLength && j < hLength; i++) {
332
+ field = fields[i];
333
+ if (svHeaders[j].r.toUpperCase() === field.toUpperCase()) {
334
+ headers[j] = field;
335
+ j++;
336
+ }
337
+ }
338
+
339
+ var len = data2D.length;
340
+ var fieldLen = headers.length;
341
+ var ricMap = {};
342
+
343
+ // TODO: Freeze the data view before setting multiple data
344
+ for (i = 1; i < len; i++) { // to skip column header index, use i = 1
345
+ var dataRow = data2D[i];
346
+ ric = dataRow[0];
347
+
348
+ var snapData = ricMap[ric] = {};
349
+
350
+ // loop for create rowData for update
351
+ for (j = 1; j < fieldLen; j++) { // to skip instrument index, use j = 1
352
+ var value = dataRow[j];
353
+ if (value != null && value !== "") {
354
+ if(typeof value !== 'object') {
355
+ field = headers[j];
356
+ snapData[field] = value;
357
+ }
358
+ // TODO : handled when a cell has a mistake and the value appears as {f: "1"} ( description error in fault attribute at index 1 ),
359
+ // Therefore, we need to store information to the error field for this cell.
360
+ // else {}
361
+
362
+ }
363
+ }
364
+ }
365
+
366
+ // return result only ric that has update data
367
+ var updatedData = {};
368
+ for (ric in ricMap) {
369
+ var obj = ricMap[ric];
370
+ if (!isEmptyObject(obj)) {
371
+ updatedData[ric] = obj;
372
+ }
373
+ }
374
+
375
+ this._dispatch("dataChanged", {
376
+ data: updatedData
377
+ });
378
+ };
379
+
274
380
  export { SnapshotFiller };
275
381
  export default SnapshotFiller;
@@ -9,7 +9,7 @@ declare class StyleLoader {
9
9
 
10
10
  public static readonly styles: string;
11
11
 
12
- public static applyStyle(grid: Core): void;
12
+ public static applyStyle(grid: Core|null): void;
13
13
 
14
14
  }
15
15
 
@@ -7,14 +7,14 @@ import { isIE, cloneObject, prepareTSVContent } from "../../tr-grid-util/es6/Uti
7
7
  declare namespace CellSelectionPlugin {
8
8
 
9
9
  type Options = {
10
- mode?: string,
11
- multipleSelection?: boolean,
12
- autoDeselecting?: boolean,
13
- tabToSelect?: boolean,
14
- selectionChanged?: ((...params: any[]) => any),
15
- copy?: ((...params: any[]) => any),
16
- beforeMouseDown?: ((...params: any[]) => any),
17
- selectableSections?: any[]
10
+ mode?: string|null,
11
+ multipleSelection?: boolean|null,
12
+ autoDeselecting?: boolean|null,
13
+ tabToSelect?: boolean|null,
14
+ selectionChanged?: ((...params: any[]) => any)|null,
15
+ copy?: ((...params: any[]) => any)|null,
16
+ beforeMouseDown?: ((...params: any[]) => any)|null,
17
+ selectableSections?: any[]|null
18
18
  };
19
19
 
20
20
  }
@@ -41,7 +41,7 @@ declare class CellSelectionPlugin extends GridPlugin {
41
41
 
42
42
  public getLastSelectionBounds(opt_ret?: any): any;
43
43
 
44
- public setSelectableSections(types?: (string|(string)[]|null)): void;
44
+ public setSelectableSections(types?: (string|(string)[]|null)|null): void;
45
45
 
46
46
  public selectSingleCell(anchor: any): void;
47
47
 
@@ -53,9 +53,9 @@ declare class CellSelectionPlugin extends GridPlugin {
53
53
 
54
54
  public getAnchorInfo(): any;
55
55
 
56
- public getSelectedCells(): (any[])[];
56
+ public getSelectedCells(): (any[])[]|null;
57
57
 
58
- public disableSelection(opt_disable?: boolean): void;
58
+ public disableSelection(opt_disable?: boolean|null): void;
59
59
 
60
60
  public setAutoDeselectingOnBlur(bool: boolean): void;
61
61
 
@@ -623,7 +623,6 @@ CellSelectionPlugin.prototype._setScrollInterval = function (dirVectors) {
623
623
 
624
624
  var scrollToTop = isYPositive ? currentScrollTop + cellWidth : currentScrollTop - cellWidth;
625
625
  var scrollToLeft = isXPositive ? currentScrollLeft + cellHeight : currentScrollLeft - cellHeight;
626
- var addCount = 1;
627
626
 
628
627
  if (dirVectors.y !== 0) {
629
628
  // updates scroll position
@@ -649,7 +648,7 @@ CellSelectionPlugin.prototype._setScrollInterval = function (dirVectors) {
649
648
  var nextTopVal = vScrollView.firstFullRow + 2;
650
649
 
651
650
  if (!!(this._prevRect && this._prevRect.top < nextTopVal) && !isEndOfVerticalScroll) {
652
- tgtRect.bottom = nextTopVal + addCount;
651
+ tgtRect.bottom = nextTopVal + 1;
653
652
  } else {
654
653
  if (isEndOfVerticalScroll) {
655
654
  tgtRect.top = 1;
@@ -666,47 +665,33 @@ CellSelectionPlugin.prototype._setScrollInterval = function (dirVectors) {
666
665
 
667
666
  var isEndOfHorizontalScroll = this._isEndOfHorizontalScroll();
668
667
 
669
- var gridWidth = this._hosts[0].getWidth();
668
+ var hScrollbar = this._hosts[0].getHScrollbar();
670
669
 
671
- var curColumnWidth = this._hosts[0].getColumnWidth(tgtRect.right + addCount);
670
+ var hTrackWidth = hScrollbar.getTrackSize();
672
671
 
673
672
  if (isXPositive) {
674
- var leftColumnPosition = this._hosts[0].getColumnLeft(tgtRect.right + addCount);
673
+ var leftPinnedWidth = 0;
675
674
 
676
- var rightColPos = this._hosts[0].getColumnLeft(tgtRect.right);
675
+ var leftPinnedCount = this._hosts[0].getPinnedLeftColumnCount();
677
676
 
678
- var rightSps = this._hosts[0].getColumnRight(tgtRect.left + 2);
677
+ if (leftPinnedCount) {
678
+ leftPinnedWidth = this._hosts[0].getContentWidth() - hScrollbar.getContentWidth();
679
+ }
679
680
 
680
- var rightPosition = gridWidth - curColumnWidth;
681
+ var nextRightColEndPos = this._hosts[0].getColumnRight(tgtRect.right) - leftPinnedWidth;
681
682
 
682
- if (leftColumnPosition < rightPosition) {
683
- do {
684
- tgtRect.right += addCount;
685
- } while (this._hosts[0].getColumnLeft(tgtRect.right + addCount) < rightPosition);
686
- } else {
687
- if (rightColPos - cellWidth - gridWidth > 0 && leftColumnPosition > rightColPos && rightSps < gridWidth) {
688
- do {
689
- tgtRect.left += addCount;
690
- } while (this._hosts[0].getColumnLeft(tgtRect.right + addCount) > rightColPos);
691
- } else if (isEndOfHorizontalScroll) {
692
- tgtRect.right = this._hosts[0].getColumnCount();
693
- }
683
+ if (nextRightColEndPos <= hTrackWidth) {
684
+ tgtRect.right += 1;
685
+ } else if (isEndOfHorizontalScroll) {
686
+ tgtRect.right = this._hosts[0].getColumnCount();
694
687
  }
695
688
  } else {
696
- var rightColumnPosition = this._hosts[0].getColumnRight(tgtRect.left - addCount);
697
-
698
- var leftColPos = this._hosts[0].getColumnRight(tgtRect.left);
689
+ var nextLeftColEndPos = this._hosts[0].getColumnLeft(tgtRect.left - 1);
699
690
 
700
- var colPos = this._hosts[0].getColumnRight(tgtRect.right - 2);
701
-
702
- if (rightColumnPosition - curColumnWidth > 0) {
703
- tgtRect.left -= addCount;
704
- } else {
705
- if (leftColPos - cellWidth < 0 && rightColumnPosition < leftColPos && colPos > curColumnWidth * 2) {
706
- tgtRect.right -= addCount;
707
- } else if (isEndOfHorizontalScroll) {
708
- tgtRect.left = 0;
709
- }
691
+ if (nextLeftColEndPos >= 0) {
692
+ tgtRect.left -= 1;
693
+ } else if (isEndOfHorizontalScroll) {
694
+ tgtRect.left = 0;
710
695
  }
711
696
  }
712
697
  }
@@ -732,9 +717,9 @@ CellSelectionPlugin.prototype._isEndOfVerticalScroll = function () {
732
717
 
733
718
 
734
719
  CellSelectionPlugin.prototype._isEndOfHorizontalScroll = function () {
735
- var getScrollTop = this._hosts[0].getScrollLeft();
720
+ var hScrollbar = this._hosts[0].getHScrollbar();
736
721
 
737
- return getScrollTop === 0 || getScrollTop + this._hosts[0].getWidth() > this._hosts[0].getScrollWidth();
722
+ return hScrollbar.isEndOfHorizontalScroll() || this._hosts[0].getScrollLeft() == 0;
738
723
  };
739
724
  /** Fire when draging was end.
740
725
  * @private
@@ -6,25 +6,25 @@ import {injectCss, prettifyCss} from "../../tr-grid-util/es6/Util.js";
6
6
  declare namespace CheckboxPlugin {
7
7
 
8
8
  type Options = {
9
- rowSelection?: boolean,
10
- field?: string,
11
- disablingField?: string,
12
- checkboxCreated?: ((...params: any[]) => any),
13
- checkboxBinding?: ((...params: any[]) => any),
14
- clicked?: ((...params: any[]) => any),
15
- width?: number,
16
- topCheckboxHandler?: boolean
9
+ rowSelection?: boolean|null,
10
+ field?: string|null,
11
+ disablingField?: string|null,
12
+ checkboxCreated?: ((...params: any[]) => any)|null,
13
+ checkboxBinding?: ((...params: any[]) => any)|null,
14
+ clicked?: ((...params: any[]) => any)|null,
15
+ width?: number|null,
16
+ topCheckboxHandler?: boolean|null
17
17
  };
18
18
 
19
19
  type ColumnOptions = {
20
- checkboxColumn?: boolean
20
+ checkboxColumn?: boolean|null
21
21
  };
22
22
 
23
23
  }
24
24
 
25
25
  declare class CheckboxPlugin extends GridPlugin {
26
26
 
27
- constructor(options?: CheckboxPlugin.Options);
27
+ constructor(options?: CheckboxPlugin.Options|null);
28
28
 
29
29
  public getName(): string;
30
30
 
@@ -52,17 +52,19 @@ declare class CheckboxPlugin extends GridPlugin {
52
52
 
53
53
  public setAllCheckStates(checked: boolean): void;
54
54
 
55
- public selectAllPages(checked?: boolean): void;
55
+ public selectAllPages(checked?: boolean|null): void;
56
56
 
57
- public disableCheckbox(rowRef: number|string, disabled: boolean): void;
57
+ public disableCheckbox(rowRef: number|string|null, disabled: boolean): void;
58
58
 
59
- public enableCheckbox(rowRef: number|string): void;
59
+ public enableCheckbox(rowRef: number|string|null): void;
60
60
 
61
- public getAllCheckedIndices(sectionRef: any, state?: string): (number)[];
61
+ public getAllCheckedIndices(sectionRef: any, state?: string|null): (number)[];
62
62
 
63
- public getFilteredSelectedData(field?: string): any[];
63
+ public getFilteredSelectedData(field?: string|null): any[];
64
64
 
65
- public getAllSelectedData(field?: string): any[];
65
+ public getAllSelectedData(field?: string|null): any[];
66
+
67
+ public getSelectedRowData(field?: string|null): any[];
66
68
 
67
69
  }
68
70
 
@@ -846,6 +846,7 @@ CheckboxPlugin.prototype.getAllSelectedData = function (field) {
846
846
 
847
847
  /** Alias of {@link CheckboxPlugin#getAllSelectedData}
848
848
  * @public
849
+ * @function
849
850
  * @param {string=} field="" When field is not provided, entire rowData is returned. If field is specified, field values will be returned. Use "ROW_ID" as the field for retrieving internal row ids.
850
851
  * @return {!Array} Returns selected rows
851
852
  */
@@ -5,48 +5,48 @@ import {ElfUtil} from '../../tr-grid-util/es6/ElfUtil.js';
5
5
  declare namespace ColumnFormattingPlugin {
6
6
 
7
7
  type HeatmapOption = {
8
- midPoint?: string,
9
- mode?: string
8
+ midPoint?: string|null,
9
+ mode?: string|null
10
10
  };
11
11
 
12
12
  type ConditionalColorOption = {
13
- conditions?: (any)[],
14
- field?: string
13
+ conditions?: (any)[]|null,
14
+ field?: string|null
15
15
  };
16
16
 
17
17
  type BarOption = {
18
- useMovementColor?: boolean,
19
- showValues?: boolean,
20
- alignment?: string,
21
- field?: string,
22
- textHidden?: boolean,
23
- textWidth?: (number|string),
24
- barColor?: string,
25
- padding?: number,
26
- percentageLabel?: boolean,
27
- autoTextSizing?: boolean,
28
- autoFitting?: boolean,
29
- zeroValueHidden?: boolean
18
+ useMovementColor?: boolean|null,
19
+ showValues?: boolean|null,
20
+ alignment?: string|null,
21
+ field?: string|null,
22
+ textHidden?: boolean|null,
23
+ textWidth?: (number|string)|null,
24
+ barColor?: string|null,
25
+ padding?: number|null,
26
+ percentageLabel?: boolean|null,
27
+ autoTextSizing?: boolean|null,
28
+ autoFitting?: boolean|null,
29
+ zeroValueHidden?: boolean|null
30
30
  };
31
31
 
32
32
  type DisplayStyleOption = {
33
- alignment?: string,
34
- mode?: string,
35
- bar?: ColumnFormattingPlugin.BarOption,
36
- conditionalColor?: ColumnFormattingPlugin.ConditionalColorOption,
37
- heatmap?: ColumnFormattingPlugin.HeatmapOption,
33
+ alignment?: string|null,
34
+ mode?: string|null,
35
+ bar?: ColumnFormattingPlugin.BarOption|null,
36
+ conditionalColor?: ColumnFormattingPlugin.ConditionalColorOption|null,
37
+ heatmap?: ColumnFormattingPlugin.HeatmapOption|null,
38
38
  general?: any
39
39
  };
40
40
 
41
41
  type ColumnFormatOptions = {
42
42
  valueFormatTab?: any,
43
- displayStyleTab?: ColumnFormattingPlugin.DisplayStyleOption,
43
+ displayStyleTab?: ColumnFormattingPlugin.DisplayStyleOption|null,
44
44
  colorTextTab?: any,
45
- fieldDataType?: string
45
+ fieldDataType?: string|null
46
46
  };
47
47
 
48
48
  type ColumnOptions = {
49
- fieldDataType?: string
49
+ fieldDataType?: string|null
50
50
  };
51
51
 
52
52
  }
@@ -59,7 +59,9 @@ declare class ColumnFormattingPlugin extends GridPlugin {
59
59
 
60
60
  public getConfigObject(gridOptions?: any): any;
61
61
 
62
- public getFieldList(): (string)[];
62
+ public getField(colIndex: number): string;
63
+
64
+ public getFieldList(): (string)[]|null;
63
65
 
64
66
  public getColumnCount(): number;
65
67
 
@@ -67,7 +69,7 @@ declare class ColumnFormattingPlugin extends GridPlugin {
67
69
 
68
70
  public getColumnFormatOptions(colIndex: number): ColumnFormattingPlugin.ColumnFormatOptions;
69
71
 
70
- public setColumnFormatOptions(colIndex: number, options?: ColumnFormattingPlugin.ColumnFormatOptions): void;
72
+ public setColumnFormatOptions(colIndex: number, options?: ColumnFormattingPlugin.ColumnFormatOptions|null): void;
71
73
 
72
74
  public setColumnAlignment(colIndex: number, align: string): void;
73
75
 
@@ -77,7 +79,7 @@ declare class ColumnFormattingPlugin extends GridPlugin {
77
79
 
78
80
  public isColumnHidden(colIndex: number): boolean;
79
81
 
80
- public hideColumn(colIndex: number, opt_bool?: boolean): void;
82
+ public hideColumn(colIndex: number, opt_bool?: boolean|null): void;
81
83
 
82
84
  public showAllColumns(): void;
83
85
 
@@ -222,6 +222,7 @@ ColumnFormattingPlugin.prototype.getConfigObject = function (gridOptions) {
222
222
  };
223
223
 
224
224
  /** @public
225
+ * @function
225
226
  * @param {number} colIndex
226
227
  * @return {string}
227
228
  */
@@ -4,24 +4,24 @@ import { injectCss, prettifyCss } from "../../tr-grid-util/es6/Util.js";
4
4
 
5
5
  declare namespace ColumnGroupingPlugin {
6
6
 
7
- type Options = (ColumnGroupingPlugin.GroupDefinition)[];
7
+ type Options = (ColumnGroupingPlugin.GroupDefinition)[]|null;
8
8
 
9
- type GroupDefinitions = (ColumnGroupingPlugin.GroupDefinition)[];
9
+ type GroupDefinitions = (ColumnGroupingPlugin.GroupDefinition)[]|null;
10
10
 
11
11
  type GroupDefinition = {
12
12
  id: string,
13
13
  name: string,
14
- tooltip?: (boolean|string),
15
- children: (string)[],
16
- alignment?: string,
17
- render?: ((...params: any[]) => any)
14
+ tooltip?: (boolean|string)|null,
15
+ children: (string)[]|null,
16
+ alignment?: string|null,
17
+ render?: ((...params: any[]) => any)|null
18
18
  };
19
19
 
20
20
  }
21
21
 
22
22
  declare class ColumnGroupingPlugin extends GridPlugin {
23
23
 
24
- constructor(options?: ColumnGroupingPlugin.Options);
24
+ constructor(options?: ColumnGroupingPlugin.Options|null);
25
25
 
26
26
  public beforeProcessOption(optionName: string, optionValue: any): any;
27
27
 
@@ -37,23 +37,37 @@ declare class ColumnGroupingPlugin extends GridPlugin {
37
37
 
38
38
  public addColumnToGroup(column: any, groupId: string, colIndex: number): void;
39
39
 
40
- public addGroup(groupDef: ColumnGroupingPlugin.GroupDefinition): boolean;
40
+ public addGroup(groupDef: ColumnGroupingPlugin.GroupDefinition|null): boolean;
41
41
 
42
- public addColumnGrouping(groupDef: ColumnGroupingPlugin.GroupDefinition): void;
42
+ public addColumnGrouping(groupDef: ColumnGroupingPlugin.GroupDefinition|null): void;
43
43
 
44
44
  public removeGroup(groupId: string): any;
45
45
 
46
- public setGroupDefinitions(groupDefs: ColumnGroupingPlugin.GroupDefinitions): void;
46
+ public setGroupDefinitions(groupDefs: ColumnGroupingPlugin.GroupDefinitions|null): void;
47
47
 
48
48
  public getGroupDefinitions(): ColumnGroupingPlugin.GroupDefinitions;
49
49
 
50
- public setGroupDefinition(groupId: string, newDef: ColumnGroupingPlugin.GroupDefinition): void;
50
+ public setGroupDefinition(groupId: string, newDef: ColumnGroupingPlugin.GroupDefinition|null): void;
51
51
 
52
- public getGroupDefinition(groupId: number): ColumnGroupingPlugin.GroupDefinition;
52
+ public getGroupDefinition(groupId: string): ColumnGroupingPlugin.GroupDefinition|null;
53
53
 
54
- public setGroupChildren(groupId: string, newChildList: (string)[]): void;
54
+ public setGroupChildren(groupId: string, newChildList: (string)[]|null): void;
55
55
 
56
- public getGroupChildren(groupId: number): ColumnGroupingPlugin.GroupDefinition;
56
+ public getGroupChildren(groupId: string): (string)[]|null;
57
+
58
+ public getChildColumnIndices(groupId: string): (number)[]|null;
59
+
60
+ public getGroupIds(colRef: string|number|null): (string)[]|null;
61
+
62
+ public getMaxGroupLevel(): number;
63
+
64
+ public getGroupLevel(groupId: string): number;
65
+
66
+ public getCellInfo(e: Element|Event|MouseEvent|null): any;
67
+
68
+ public moveColumnIntoGroup(from: number|string|null, to: number, groupId: string): void;
69
+
70
+ public setColumnParent(columnIndex: number|string|null, groupId: string): void;
57
71
 
58
72
  }
59
73