@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
@@ -8,51 +8,51 @@ declare namespace ColumnDefinition {
8
8
  type SortLogic = (valA: any, valB: any, order: number, ctx: any) => void;
9
9
 
10
10
  type Options = {
11
- field?: string,
12
- dataType?: string,
13
- formulaReference?: string,
14
- require?: (string)[],
15
- name?: string,
16
- notRealTimeField?: boolean,
17
- tooltip?: (boolean|string|null),
18
- headerBinding?: ((...params: any[]) => any),
19
- headerRenderer?: ((...params: any[]) => any),
20
- binding?: ((...params: any[]) => any),
21
- renderer?: ((...params: any[]) => any),
22
- sortLogic?: ColumnDefinition.SortLogic,
23
- sortingLogic?: ColumnDefinition.SortLogic,
24
- sorter?: ColumnDefinition.SortLogic,
25
- rowSorting?: boolean,
26
- sortable?: boolean,
27
- sort?: string,
11
+ field?: string|null,
12
+ dataType?: string|null,
13
+ formulaReference?: string|null,
14
+ require?: (string)[]|null,
15
+ name?: string|null,
16
+ notRealTimeField?: boolean|null,
17
+ tooltip?: (boolean|string|null)|null,
18
+ headerBinding?: ((...params: any[]) => any)|null,
19
+ headerRenderer?: ((...params: any[]) => any)|null,
20
+ binding?: ((...params: any[]) => any)|null,
21
+ renderer?: ((...params: any[]) => any)|null,
22
+ sortLogic?: ColumnDefinition.SortLogic|null,
23
+ sortingLogic?: ColumnDefinition.SortLogic|null,
24
+ sorter?: ColumnDefinition.SortLogic|null,
25
+ rowSorting?: boolean|null,
26
+ sortable?: boolean|null,
27
+ sort?: string|null,
28
28
  styles?: any,
29
- width?: number,
30
- minWidth?: number,
31
- scalable?: boolean,
32
- className?: string,
33
- class?: string,
34
- textAlign?: string,
35
- alignment?: string,
36
- headerAlignment?: string,
37
- titleAlignment?: string,
38
- hidden?: boolean,
39
- id?: string,
40
- textSelect?: boolean,
41
- keepModel?: boolean,
42
- stationary?: boolean,
43
- leftPinned?: boolean,
44
- rightPinned?: boolean
29
+ width?: number|null,
30
+ minWidth?: number|null,
31
+ scalable?: boolean|null,
32
+ className?: string|null,
33
+ class?: string|null,
34
+ textAlign?: string|null,
35
+ alignment?: string|null,
36
+ headerAlignment?: string|null,
37
+ titleAlignment?: string|null,
38
+ hidden?: boolean|null,
39
+ id?: string|null,
40
+ textSelect?: boolean|null,
41
+ keepModel?: boolean|null,
42
+ stationary?: boolean|null,
43
+ leftPinned?: boolean|null,
44
+ rightPinned?: boolean|null
45
45
  };
46
46
 
47
47
  }
48
48
 
49
49
  declare class ColumnDefinition {
50
50
 
51
- constructor(columnOption?: ColumnDefinition.Options|string, hostGrid?: any);
51
+ constructor(columnOption?: ColumnDefinition.Options|string|null, hostGrid?: any);
52
52
 
53
53
  public dispose(): void;
54
54
 
55
- public initialize(columnOption?: ColumnDefinition.Options|string): void;
55
+ public initialize(columnOption?: ColumnDefinition.Options|string|null): void;
56
56
 
57
57
  public getId(): string;
58
58
 
@@ -74,6 +74,8 @@ declare class ColumnDefinition {
74
74
 
75
75
  public getDataType(): string;
76
76
 
77
+ public setDataType(dataType: string): void;
78
+
77
79
  public static getDataType(field: string): string;
78
80
 
79
81
  public getTooltip(): string;
@@ -92,7 +94,7 @@ declare class ColumnDefinition {
92
94
 
93
95
  public static isRealTimeField(field: string): boolean;
94
96
 
95
- public static getRealTimeFields(fields: (string)[], colDef: ColumnDefinition): (string)[];
97
+ public static getRealTimeFields(fields: (string)[]|null, colDef: ColumnDefinition|null): (string)[];
96
98
 
97
99
  public isSortable(): boolean;
98
100
 
@@ -106,6 +108,8 @@ declare class ColumnDefinition {
106
108
 
107
109
  public getTextAlign(): string;
108
110
 
111
+ public isFieldEmpty(): boolean;
112
+
109
113
  public getHeaderAlignment(): string;
110
114
 
111
115
  public getClasses(): (string)[];
@@ -116,19 +120,19 @@ declare class ColumnDefinition {
116
120
 
117
121
  public isTextSelect(): boolean;
118
122
 
119
- public hide(bool?: boolean): void;
123
+ public hide(bool?: boolean|null): void;
120
124
 
121
- public setHeaderRenderer(func: ((...params: any[]) => any)): void;
125
+ public setHeaderRenderer(func: ((...params: any[]) => any)|null): void;
122
126
 
123
- public setRenderer(func: ((...params: any[]) => any)): void;
127
+ public setRenderer(func: ((...params: any[]) => any)|null): void;
124
128
 
125
- public addRenderer(func: ((...params: any[]) => any)): void;
129
+ public addRenderer(func: ((...params: any[]) => any)|null): void;
126
130
 
127
- public activateRenderer(id?: string, func?: ((...params: any[]) => any)): boolean;
131
+ public activateRenderer(id?: string|null, func?: ((...params: any[]) => any)|null): boolean;
128
132
 
129
133
  public getSorter(): ((...params: any[]) => any)|null;
130
134
 
131
- public setSorter(func?: ColumnDefinition.SortLogic): void;
135
+ public setSorter(func?: ColumnDefinition.SortLogic|null): void;
132
136
 
133
137
  public isRowSorting(): boolean;
134
138
 
@@ -69,7 +69,11 @@ var TYPE_MAPPING = {
69
69
 
70
70
  PRICE: "number",
71
71
  DOUBLE: "number",
72
- MONEY: "number"
72
+ MONEY: "number",
73
+
74
+ INTEGER: "number",
75
+ FLOAT: "number",
76
+ SCORE: "number"
73
77
  };
74
78
 
75
79
  /** @type {string}
@@ -147,6 +151,10 @@ ColumnDefinition.prototype._name = "";
147
151
  * @private
148
152
  */
149
153
  ColumnDefinition.prototype._isDefaultName = true;
154
+ /** @type {boolean}
155
+ * @private
156
+ */
157
+ ColumnDefinition.prototype._emptyField = false;
150
158
  /** @type {string|null}
151
159
  * @private
152
160
  */
@@ -467,6 +475,17 @@ ColumnDefinition.prototype.getDataType = function () {
467
475
  }
468
476
  return "";
469
477
  };
478
+ /** set data type
479
+ * @public
480
+ * @param {string} dataType
481
+ */
482
+ ColumnDefinition.prototype.setDataType = function (dataType) {
483
+ var val = TYPE_MAPPING[dataType.toUpperCase()];
484
+ if(val) {
485
+ dataType = val;
486
+ }
487
+ this._dataType = dataType;
488
+ };
470
489
  /** get data type
471
490
  * @public
472
491
  * @param {string} field
@@ -629,6 +648,13 @@ ColumnDefinition.prototype.getTextAlign = function() {
629
648
  var colIndex = grid.getColumnIndex(this);
630
649
  return core.getColumnAlignment(colIndex);
631
650
  };
651
+ /** @public
652
+ * @return {boolean}
653
+ */
654
+ ColumnDefinition.prototype.isFieldEmpty = function() {
655
+ return this._emptyField;
656
+ };
657
+
632
658
  /** @public
633
659
  * @return {string}
634
660
  */
@@ -887,9 +913,11 @@ ColumnDefinition.prototype._setField = function(field, formulaStr) {
887
913
  if(defaultField) {
888
914
  this._field = "COLUMN_" + this._id;
889
915
  this._name = "Column " + this._id;
916
+ this._emptyField = true;
890
917
  } else {
891
918
  this._field = field;
892
919
  this._name = field;
920
+ this._emptyField = false;
893
921
  this._realTimeField = field ? true : false;
894
922
  }
895
923
  this._isDefaultName = true;
@@ -945,6 +973,8 @@ ColumnDefinition.prototype._customRenderer = function(e) {
945
973
  arg["rowIndex"] = e["rowIndex"];
946
974
  if(rowData) {
947
975
  arg["data"] = rowData[this._field];
976
+ } else {
977
+ arg["data"] = null;
948
978
  }
949
979
  arg["colIndex"] = e["colIndex"];
950
980
  arg["cell"] = e["cell"];
@@ -17,15 +17,17 @@ declare class DataConnector extends EventDispatcher {
17
17
 
18
18
  public getRowDefByRic(ric: string): (RowDefinition)[]|null;
19
19
 
20
- public addRic(rowDef: RowDefinition): boolean;
20
+ public addRic(rowDef: RowDefinition|null): boolean;
21
21
 
22
- public removeRic(rowDef: RowDefinition, ric?: string): void;
22
+ public removeRic(rowDef: RowDefinition|null, ric?: string|null): void;
23
23
 
24
24
  public removeAllRics(): void;
25
25
 
26
- public addFields(fieldRef: string|(string)[]|ColumnDefinition, referer?: string): void;
26
+ public addFields(fieldRef: string|(string)[]|ColumnDefinition|null, referer?: string|null): void;
27
27
 
28
- public removeFields(fieldRef: ColumnDefinition|string, referer?: string): void;
28
+ public removeFields(fieldRef: ColumnDefinition|string|null, referer?: string|null): void;
29
+
30
+ public removeFieldReferrer(referrer: string): void;
29
31
 
30
32
  public removeAllFields(): void;
31
33
 
@@ -203,6 +203,14 @@ DataConnector.prototype.removeFields = function (fieldRef, referer) {
203
203
  this._commitFieldsChanges();
204
204
  };
205
205
 
206
+ /** @public
207
+ * @param {string} referrer
208
+ */
209
+ DataConnector.prototype.removeFieldReferrer = function (referrer) {
210
+ this._fields.removeReferer(referrer);
211
+ this._commitFieldsChanges();
212
+ };
213
+
206
214
  /** @public
207
215
  */
208
216
  DataConnector.prototype.removeAllFields = function () {
@@ -10,9 +10,9 @@ declare namespace FieldDefinition {
10
10
 
11
11
  function remove(field: string): void;
12
12
 
13
- function setSynapseConfig(config: Grid.SynapseConfig): void;
13
+ function setSynapseConfig(config: Grid.SynapseConfig|null): void;
14
14
 
15
- function set(field: string, def: any): void;
15
+ function setFieldCaching(caching: boolean): void;
16
16
 
17
17
  }
18
18
 
@@ -171,6 +171,11 @@ FieldDefinition._synapse = '';
171
171
  * @const
172
172
  */
173
173
  FieldDefinition._lang = 'en';
174
+ /**
175
+ * @type {boolean}
176
+ * @private
177
+ */
178
+ FieldDefinition._caching = false;
174
179
 
175
180
  /**
176
181
  * @type {Object.<string, boolean>}
@@ -192,7 +197,10 @@ FieldDefinition.set = function(field, def) {
192
197
  * @return {Object}
193
198
  */
194
199
  FieldDefinition.get = function(field) {
195
- return FieldDefinition._defs[field];
200
+ if(this._caching) {
201
+ return FieldDefinition._defs[field];
202
+ }
203
+ return null;
196
204
  };
197
205
  /** @public
198
206
  * @function
@@ -213,11 +221,10 @@ FieldDefinition.setSynapseConfig = function (config) {
213
221
 
214
222
  /** @public
215
223
  * @function
216
- * @param {string} field
217
- * @param {Object} def
224
+ * @param {boolean} caching
218
225
  */
219
- FieldDefinition.set = function (field, def) {
220
- FieldDefinition._defs[field] = def || null;
226
+ FieldDefinition.setFieldCaching = function (caching) {
227
+ FieldDefinition._caching = caching;
221
228
  };
222
229
 
223
230
  /** to get more info about field via synapse service
@@ -26,65 +26,72 @@ declare namespace Grid {
26
26
  type SynapseConfig = {
27
27
  apiKey: string,
28
28
  contextApp: string,
29
- auth?: string,
30
- debug?: boolean
29
+ auth?: string|null,
30
+ debug?: boolean|null
31
+ };
32
+
33
+ type ADCOptions = {
34
+ productId?: string|null
31
35
  };
32
36
 
33
37
  type GridOptions = {
34
- columns?: (ColumnDefinition.Options|string)[],
35
- defaultColumnOptions?: ColumnDefinition.Options,
36
- rows?: (RowDefinition.Options)[],
37
- fields?: (string)[],
38
- rics?: (string)[],
39
- plugins?: any[],
40
- extensions?: any[],
41
- scrollbar?: boolean,
42
- linearWheelScrolling?: boolean,
43
- stepScroll?: boolean,
44
- autoHideScrollbar?: boolean,
45
- pageSize?: string,
46
- rowHeight?: number,
47
- headerRowHeight?: number,
48
- noColumnDragging?: boolean,
49
- columnReorder?: boolean,
50
- rowHighlighting?: boolean,
51
- autoLayoutUpdate?: (boolean|number),
52
- columnFreezing?: number,
53
- freezeColumn?: number,
54
- pinnedRightColumns?: number,
55
- staticDataRows?: any[],
56
- dataFields?: (string)[],
57
- rowVirtualization?: boolean,
58
- columnVirtualization?: boolean,
59
- topFreezingCount?: (number|null|boolean),
60
- bottomFreezingCount?: (number|null),
61
- borders?: boolean,
62
- gridlines?: boolean,
63
- verticalLines?: boolean,
64
- horizontalLines?: boolean,
38
+ columns?: (ColumnDefinition.Options|string)[]|null,
39
+ defaultColumnOptions?: ColumnDefinition.Options|null,
40
+ rows?: (RowDefinition.Options)[]|null,
41
+ fields?: (string)[]|null,
42
+ rics?: (string)[]|null,
43
+ plugins?: any[]|null,
44
+ extensions?: any[]|null,
45
+ scrollbar?: boolean|null,
46
+ linearWheelScrolling?: boolean|null,
47
+ stepScroll?: boolean|null,
48
+ autoHideScrollbar?: boolean|null,
49
+ pageSize?: string|null,
50
+ rowHeight?: number|null,
51
+ headerRowHeight?: number|null,
52
+ noColumnDragging?: boolean|null,
53
+ columnReorder?: boolean|null,
54
+ rowHighlighting?: boolean|null,
55
+ autoLayoutUpdate?: (boolean|number)|null,
56
+ columnFreezing?: number|null,
57
+ freezeColumn?: number|null,
58
+ pinnedRightColumns?: number|null,
59
+ staticDataRows?: any[]|null,
60
+ dataFields?: (string)[]|null,
61
+ rowVirtualization?: boolean|null,
62
+ columnVirtualization?: boolean|null,
63
+ topFreezingCount?: (number|null|boolean)|null,
64
+ bottomFreezingCount?: (number|null)|null,
65
+ borders?: boolean|null,
66
+ gridlines?: boolean|null,
67
+ verticalLines?: boolean|null,
68
+ contentVerticalLines?: boolean|null,
69
+ horizontalLines?: boolean|null,
65
70
  RTK?: any,
66
- synapse?: Grid.SynapseConfig,
67
- contentRightPadding?: number,
68
- contentBottomPadding?: number,
69
- dataConflationRate?: number,
70
- dataComposed?: ((...params: any[]) => any),
71
- autoDateConversion?: boolean,
72
- textSelect?: boolean,
73
- lang?: string,
74
- scrollbarParent?: Element,
75
- formulaEngine?: boolean,
76
- adcPollingInterval?: number
71
+ ADC?: Grid.ADCOptions|null,
72
+ synapse?: Grid.SynapseConfig|null,
73
+ contentRightPadding?: number|null,
74
+ contentBottomPadding?: number|null,
75
+ dataConflationRate?: number|null,
76
+ dataComposed?: ((...params: any[]) => any)|null,
77
+ autoDateConversion?: boolean|null,
78
+ textSelect?: boolean|null,
79
+ lang?: string|null,
80
+ scrollbarParent?: Element|null,
81
+ formulaEngine?: boolean|null,
82
+ adcPollingInterval?: number|null,
83
+ fieldCaching?: boolean|null
77
84
  };
78
85
 
79
- type RowReference = number|string|RowDefinition;
86
+ type RowReference = number|string|RowDefinition|null;
80
87
 
81
- type ColumnReference = number|string|ColumnDefinition;
88
+ type ColumnReference = number|string|ColumnDefinition|null;
82
89
 
83
90
  }
84
91
 
85
92
  declare class Grid extends EventDispatcher {
86
93
 
87
- constructor(placeholder?: (Element|null), config?: Grid.GridOptions);
94
+ constructor(placeholder?: (Element|null)|null, config?: Grid.GridOptions|null);
88
95
 
89
96
  public dispose(): void;
90
97
 
@@ -92,101 +99,105 @@ declare class Grid extends EventDispatcher {
92
99
 
93
100
  public removeEventListeners(): void;
94
101
 
95
- public listen(type: string, handler: ((...params: any[]) => any)): void;
102
+ public listen(type: string, handler: ((...params: any[]) => any)|null): void;
96
103
 
97
104
  public initSubscription(): void;
98
105
 
99
106
  public updateLayout(): void;
100
107
 
101
- public updateRowData(opt_rowIndex?: number): void;
108
+ public updateRowData(opt_rowIndex?: number|null): void;
102
109
 
103
- public addHeaderSection(sectionName?: string): any;
110
+ public addHeaderSection(sectionName?: string|null): any;
104
111
 
105
- public addFooterSection(sectionName?: string): any;
112
+ public addFooterSection(sectionName?: string|null): any;
106
113
 
107
- public setParent(elem: Element): void;
114
+ public setParent(elem: Element|null): void;
108
115
 
109
- public insertBefore(elem: Element): void;
116
+ public insertBefore(elem: Element|null): void;
110
117
 
111
118
  public getRelativePosition(obj: ElementWrapper|Element|Event|MouseEvent): any;
112
119
 
113
120
  public getCoreGrid(): Core|null;
114
121
 
115
- public initialize(gridOption?: Grid.GridOptions): void;
122
+ public initialize(gridOption?: Grid.GridOptions|null): void;
116
123
 
117
124
  public getConfigObject(gridOptions?: any): any;
118
125
 
119
126
  public setLocale(lang: string): void;
120
127
 
121
- public insertColumn(columnOption: ColumnDefinition.Options|string, idx?: number): void;
128
+ public insertColumn(columnOption: ColumnDefinition.Options|string|null, idx?: number|null): void;
129
+
130
+ public replaceColumn(columnOption: ColumnDefinition.Options|string|null, colRef: Grid.ColumnReference|null): void;
122
131
 
123
- public setColumns(columns: (any)[]): void;
132
+ public setColumns(columns: (any)[]|null): void;
124
133
 
125
- public setFields(ary: (string)[]): void;
134
+ public setFields(ary: (string)[]|null): void;
126
135
 
127
- public removeColumn(colRef: Grid.ColumnReference): void;
136
+ public removeColumn(colRef: Grid.ColumnReference|null): void;
128
137
 
129
- public removeColumns(colRefs: (Grid.ColumnReference)[]): void;
138
+ public removeColumns(colRefs: (Grid.ColumnReference)[]|null): void;
130
139
 
131
140
  public removeAllColumns(): void;
132
141
 
133
- public moveColumn(fromColIndex: number|(number)[], toColIndex: number): boolean;
142
+ public moveColumn(fromColIndex: number|(number)[]|null, toColIndex: number): boolean;
134
143
 
135
- public hideColumn(colRef: Grid.ColumnReference, hidden?: boolean): void;
144
+ public hideColumn(colRef: Grid.ColumnReference|null, hidden?: boolean|null): void;
136
145
 
137
- public hideColumns(colRefs: (Grid.ColumnReference)[], hidden?: boolean): void;
146
+ public hideColumns(colRefs: (Grid.ColumnReference)[]|null, hidden?: boolean|null): void;
138
147
 
139
148
  public showAllColumns(): void;
140
149
 
141
- public addDataFields(fieldRef: string|(string)[], referrer?: string): boolean;
150
+ public addDataFields(fieldRef: string|(string)[]|null, referrer?: string|null): boolean;
142
151
 
143
- public removeDataFields(fieldRef: string|(string)[], referrer?: string): boolean;
152
+ public removeDataFields(fieldRef: string|(string)[]|null, referrer?: string|null): boolean;
144
153
 
145
- public sortColumn(colRef: Grid.ColumnReference, opt_order?: string): void;
154
+ public removeFieldReferrer(referrer: string): void;
155
+
156
+ public sortColumn(colRef: Grid.ColumnReference|null, opt_order?: string|null): void;
146
157
 
147
158
  public setColumnName(colIndex: number, str: string): void;
148
159
 
149
- public setColumnRenderer(colRef: Grid.ColumnReference, func?: ((...params: any[]) => any)): void;
160
+ public setColumnRenderer(colRef: Grid.ColumnReference|null, func?: ((...params: any[]) => any)|null): void;
150
161
 
151
- public activateColumnRenderer(colRef: Grid.ColumnReference, id?: string, func?: ((...params: any[]) => any)): void;
162
+ public activateColumnRenderer(colRef: Grid.ColumnReference|null, id?: string|null, func?: ((...params: any[]) => any)|null): void;
152
163
 
153
- public setColumnFormatter(colIndex: number, formatter?: any|((...params: any[]) => any)): void;
164
+ public setColumnFormatter(colIndex: number, formatter?: any|((...params: any[]) => any)|null): void;
154
165
 
155
- public setColumnSorter(colRef: Grid.ColumnReference, func?: ColumnDefinition.SortLogic): void;
166
+ public setColumnSorter(colRef: Grid.ColumnReference|null, func?: ColumnDefinition.SortLogic|null): void;
156
167
 
157
- public _initDuplicateRicData(rowDef: RowDefinition): void;
168
+ public _initDuplicateRicData(rowDef: RowDefinition|null): void;
158
169
 
159
- public insertRow(rowOption?: any, rowRef?: Grid.RowReference): any;
170
+ public insertRow(rowOption?: any, rowRef?: Grid.RowReference|null): any;
160
171
 
161
- public insertRows(rowOptions: (any)[], rowRef?: Grid.RowReference, opt_fields?: (string)[]): void;
172
+ public insertRows(rowOptions: (any)[]|null, rowRef?: Grid.RowReference|null, opt_fields?: (string)[]|null): void;
162
173
 
163
- public addStaticDataRows(dataRows: any[], fields?: (string)[]): void;
174
+ public addStaticDataRows(dataRows: any[]|null, fields?: (string)[]|null): void;
164
175
 
165
- public updateDataSet(records: (any)[], rowIdentifier: string): void;
176
+ public updateDataSet(records: (any)[]|null, rowIdentifier: string): void;
166
177
 
167
- public removeRow(rowRef: Grid.RowReference): RowDefinition|null;
178
+ public removeRow(rowRef: Grid.RowReference|null): RowDefinition|null;
168
179
 
169
- public removeRows(rowRefs: (Grid.RowReference)[]): (RowDefinition)[]|null;
180
+ public removeRows(rowRefs: (Grid.RowReference)[]|null): (RowDefinition)[]|null;
170
181
 
171
182
  public removeAllRows(): void;
172
183
 
173
- public hideRow(rowRef: Grid.RowReference, hidden?: boolean): void;
184
+ public hideRow(rowRef: Grid.RowReference|null, hidden?: boolean|null): void;
174
185
 
175
- public hideRows(rowRefs: Grid.RowReference | (Grid.RowReference)[], hidden?: boolean): void;
186
+ public hideRows(rowRefs: Grid.RowReference | (Grid.RowReference)[]|null, hidden?: boolean|null): void;
176
187
 
177
- public showRows(rowRefs: Grid.RowReference | (Grid.RowReference)[], shown?: boolean): void;
188
+ public showRows(rowRefs: Grid.RowReference | (Grid.RowReference)[]|null, shown?: boolean|null): void;
178
189
 
179
190
  public unhideAllRows(): void;
180
191
 
181
192
  public hasHiddenRow(): boolean;
182
193
 
183
- public setRic(rowRef: Grid.RowReference, str: string): void;
194
+ public setRic(rowRef: Grid.RowReference|null, str: string): void;
184
195
 
185
- public setRowContent(rowRef: Grid.RowReference, str: string): void;
196
+ public setRowContent(rowRef: Grid.RowReference|null, str: string): void;
186
197
 
187
- public toggleRowExpansion(rid: string|number, force?: boolean): void;
198
+ public toggleRowExpansion(rid: string|number|null, force?: boolean|null): void;
188
199
 
189
- public setRics(ary: (string)[]): void;
200
+ public setRics(ary: (string)[]|null): void;
190
201
 
191
202
  public getRowCount(): number;
192
203
 
@@ -200,11 +211,15 @@ declare class Grid extends EventDispatcher {
200
211
 
201
212
  public getColumnDefinition(colIndex: number): ColumnDefinition|null;
202
213
 
203
- public getRowDefinition(rowRef: number|string): RowDefinition|null;
214
+ public getColumnDefinitionById(colId: string): ColumnDefinition|null;
215
+
216
+ public getColumnDefinitionsById(colIds: (string)[]|null): ColumnDefinition|null;
217
+
218
+ public getRowDefinition(rowRef: number|string|null): RowDefinition|null;
204
219
 
205
220
  public getRowDefinitions(): (RowDefinition)[];
206
221
 
207
- public getAllRowDefinitions(inclAutoGenerate?: boolean): (RowDefinition)[];
222
+ public getAllRowDefinitions(inclAutoGenerate?: boolean|null): (RowDefinition)[];
208
223
 
209
224
  public getRowData(rowIndex: number): any;
210
225
 
@@ -212,11 +227,11 @@ declare class Grid extends EventDispatcher {
212
227
 
213
228
  public setRicData(ric: string, values: any): void;
214
229
 
215
- public setRowData(rowRef: Grid.RowReference, values: any): void;
230
+ public setRowData(rowRef: Grid.RowReference|null, values: any): void;
216
231
 
217
- public getColumnIndex(colRef: Grid.ColumnReference): number;
232
+ public getColumnIndex(colRef: Grid.ColumnReference|null): number;
218
233
 
219
- public getColumnIndices(colRefs: (Grid.ColumnReference)[]): (number)[];
234
+ public getColumnIndices(colRefs: (Grid.ColumnReference)[]|null): (number)[];
220
235
 
221
236
  public getColumnId(colIndex: number): string;
222
237
 
@@ -226,7 +241,7 @@ declare class Grid extends EventDispatcher {
226
241
 
227
242
  public getAllFields(): (string)[];
228
243
 
229
- public freezeColumn(colIndex?: number, pinnedRightColumns?: number): void;
244
+ public freezeColumn(colIndex?: number|null, pinnedRightColumns?: number|null): void;
230
245
 
231
246
  public updateColumnTitle(): void;
232
247
 
@@ -250,7 +265,7 @@ declare class Grid extends EventDispatcher {
250
265
 
251
266
  public getPageCount(): number;
252
267
 
253
- public toggleChain(rowRef: Grid.RowReference): void;
268
+ public toggleChain(rowRef: Grid.RowReference|null): void;
254
269
 
255
270
  public focus(): void;
256
271
 
@@ -260,7 +275,7 @@ declare class Grid extends EventDispatcher {
260
275
 
261
276
  public getExtension(str: string): any;
262
277
 
263
- public activateADCPolling(activated?: boolean): void;
278
+ public activateADCPolling(activated?: boolean|null): void;
264
279
 
265
280
  public refreshADCData(): boolean;
266
281