@refinitiv-ui/efx-grid 6.0.5 → 6.0.7

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 (284) 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 +456 -269
  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 +44 -11
  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 +8 -4
  18. package/lib/core/es6/data/Segment.js +16 -0
  19. package/lib/core/es6/data/SegmentCollection.d.ts +9 -7
  20. package/lib/core/es6/data/SegmentCollection.js +38 -36
  21. package/lib/core/es6/data/WrappedView.d.ts +62 -62
  22. package/lib/core/es6/grid/Core.d.ts +95 -95
  23. package/lib/core/es6/grid/Core.js +173 -25
  24. package/lib/core/es6/grid/ILayoutGrid.d.ts +20 -20
  25. package/lib/core/es6/grid/ILayoutGrid.js +2 -1
  26. package/lib/core/es6/grid/LayoutGrid.d.ts +2 -2
  27. package/lib/core/es6/grid/LayoutGrid.js +18 -10
  28. package/lib/core/es6/grid/VirtualizedLayoutGrid.d.ts +2 -2
  29. package/lib/core/es6/grid/VirtualizedLayoutGrid.js +14 -3
  30. package/lib/core/es6/grid/components/Cell.d.ts +6 -6
  31. package/lib/core/es6/grid/components/Cell.js +3 -0
  32. package/lib/core/es6/grid/components/CellFloatingPanel.d.ts +4 -2
  33. package/lib/core/es6/grid/components/CellFloatingPanel.js +7 -0
  34. package/lib/core/es6/grid/components/CellSpans.d.ts +2 -2
  35. package/lib/core/es6/grid/components/Column.d.ts +2 -2
  36. package/lib/core/es6/grid/components/ElementWrapper.d.ts +19 -19
  37. package/lib/core/es6/grid/components/Scrollbar.d.ts +9 -9
  38. package/lib/core/es6/grid/components/StretchedCells.js +19 -5
  39. package/lib/core/es6/grid/event/EventDispatcher.d.ts +3 -3
  40. package/lib/core/es6/grid/event/EventListeners.d.ts +5 -5
  41. package/lib/core/es6/grid/plugins/SortableTitlePlugin.d.ts +45 -44
  42. package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +62 -65
  43. package/lib/core/es6/grid/util/Conflator.d.ts +4 -4
  44. package/lib/core/es6/grid/util/HttpRequest.d.ts +3 -3
  45. package/lib/core/es6/grid/util/PercentBar.d.ts +8 -8
  46. package/lib/core/es6/grid/util/PercentBarRenderer.d.ts +8 -8
  47. package/lib/core/es6/grid/util/RangeBar.d.ts +1 -1
  48. package/lib/core/es6/grid/util/RangeBar.js +1 -1
  49. package/lib/core/es6/grid/util/Reverter.d.ts +1 -1
  50. package/lib/core/es6/grid/util/SectionSettings.d.ts +13 -13
  51. package/lib/core/es6/grid/util/SelectionList.d.ts +2 -2
  52. package/lib/core/es6/grid/util/TrackLayout.d.ts +9 -9
  53. package/lib/core/es6/grid/util/Virtualizer.d.ts +3 -3
  54. package/lib/core/es6/grid/util/util.d.ts +6 -4
  55. package/lib/core/es6/grid/util/util.js +16 -91
  56. package/lib/core/es6/index.d.ts +1 -0
  57. package/lib/core/es6/index.js +2 -0
  58. package/lib/core/es6/tr-grid-theme.js +1 -1
  59. package/lib/filter-dialog/lib/checkbox-list.d.ts +1 -1
  60. package/lib/filter-dialog/lib/filter-dialog.d.ts +1 -1
  61. package/lib/filter-dialog/lib/filter-dialog.js +27 -9
  62. package/lib/filter-dialog/themes/base-checkbox.less +0 -1
  63. package/lib/filter-dialog/themes/base.less +1 -1
  64. package/lib/filter-dialog/themes/elemental/dark/checkbox-list.js +1 -1
  65. package/lib/filter-dialog/themes/elemental/dark/es5/all-elements.js +2 -2
  66. package/lib/filter-dialog/themes/elemental/dark/filter-dialog.js +1 -1
  67. package/lib/filter-dialog/themes/elemental/light/checkbox-list.js +1 -1
  68. package/lib/filter-dialog/themes/elemental/light/es5/all-elements.js +2 -2
  69. package/lib/filter-dialog/themes/elemental/light/filter-dialog.js +1 -1
  70. package/lib/filter-dialog/themes/halo/dark/checkbox-list.js +1 -1
  71. package/lib/filter-dialog/themes/halo/dark/es5/all-elements.js +2 -2
  72. package/lib/filter-dialog/themes/halo/dark/filter-dialog.js +1 -1
  73. package/lib/filter-dialog/themes/halo/light/checkbox-list.js +1 -1
  74. package/lib/filter-dialog/themes/halo/light/es5/all-elements.js +2 -2
  75. package/lib/filter-dialog/themes/halo/light/filter-dialog.js +1 -1
  76. package/lib/filter-dialog/themes/solar/charcoal/checkbox-list.js +1 -1
  77. package/lib/filter-dialog/themes/solar/charcoal/es5/all-elements.js +2 -2
  78. package/lib/filter-dialog/themes/solar/charcoal/filter-dialog.js +1 -1
  79. package/lib/filter-dialog/themes/solar/pearl/checkbox-list.js +1 -1
  80. package/lib/filter-dialog/themes/solar/pearl/es5/all-elements.js +2 -2
  81. package/lib/filter-dialog/themes/solar/pearl/filter-dialog.js +1 -1
  82. package/lib/formatters/es6/index.d.ts +1 -1
  83. package/lib/formatters/es6/index.js +1 -1
  84. package/lib/grid/index.js +1 -1
  85. package/lib/grid/lib/efx-grid.js +3 -0
  86. package/lib/grid/themes/halo/dark/efx-grid.js +1 -1
  87. package/lib/grid/themes/halo/dark/es5/all-elements.js +1 -1
  88. package/lib/grid/themes/halo/efx-grid.less +5 -5
  89. package/lib/grid/themes/halo/light/efx-grid.js +1 -1
  90. package/lib/grid/themes/halo/light/es5/all-elements.js +1 -1
  91. package/lib/row-segmenting/es6/RowSegmenting.d.ts +30 -24
  92. package/lib/row-segmenting/es6/RowSegmenting.js +122 -21
  93. package/lib/rt-grid/dist/rt-grid.js +689 -367
  94. package/lib/rt-grid/dist/rt-grid.min.js +1 -1
  95. package/lib/rt-grid/es6/ColumnDefinition.d.ts +46 -42
  96. package/lib/rt-grid/es6/ColumnDefinition.js +31 -1
  97. package/lib/rt-grid/es6/DataConnector.d.ts +6 -4
  98. package/lib/rt-grid/es6/DataConnector.js +8 -0
  99. package/lib/rt-grid/es6/FieldDefinition.d.ts +2 -2
  100. package/lib/rt-grid/es6/FieldDefinition.js +12 -5
  101. package/lib/rt-grid/es6/Grid.d.ts +102 -94
  102. package/lib/rt-grid/es6/Grid.js +70 -105
  103. package/lib/rt-grid/es6/ReferenceCounter.d.ts +5 -5
  104. package/lib/rt-grid/es6/RowDefSorter.d.ts +2 -2
  105. package/lib/rt-grid/es6/RowDefinition.d.ts +22 -22
  106. package/lib/rt-grid/es6/RowDefinition.js +12 -5
  107. package/lib/rt-grid/es6/SnapshotFiller.d.ts +3 -3
  108. package/lib/rt-grid/es6/StyleLoader.d.ts +1 -1
  109. package/lib/tr-grid-cell-selection/es6/CellSelection.d.ts +11 -11
  110. package/lib/tr-grid-cell-selection/es6/CellSelection.js +50 -54
  111. package/lib/tr-grid-checkbox/es6/Checkbox.d.ts +18 -16
  112. package/lib/tr-grid-checkbox/es6/Checkbox.js +1 -0
  113. package/lib/tr-grid-column-formatting/es6/ColumnFormatting.d.ts +29 -27
  114. package/lib/tr-grid-column-formatting/es6/ColumnFormatting.js +1 -0
  115. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +28 -14
  116. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +556 -11
  117. package/lib/tr-grid-column-resizing/es6/ColumnResizing.d.ts +2 -2
  118. package/lib/tr-grid-column-resizing/es6/ColumnResizing.js +1 -0
  119. package/lib/tr-grid-column-selection/es6/ColumnSelection.js +2 -3
  120. package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +15 -13
  121. package/lib/tr-grid-column-stack/es6/ColumnStack.js +96 -72
  122. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.d.ts +11 -2
  123. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +309 -114
  124. package/lib/tr-grid-content-wrap/es6/ContentWrap.js +1 -6
  125. package/lib/tr-grid-contextmenu/es6/ContextMenu.js +3 -3
  126. package/lib/tr-grid-contextmenu/es6/MenuEventAPI.d.ts +2 -2
  127. package/lib/tr-grid-contextmenu/es6/MenuItem.d.ts +2 -2
  128. package/lib/tr-grid-heat-map/es6/HeatMap.d.ts +2 -1
  129. package/lib/tr-grid-heat-map/es6/HeatMap.js +6 -9
  130. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +5 -2
  131. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +311 -71
  132. package/lib/tr-grid-percent-bar/es6/PercentBar.d.ts +1 -1
  133. package/lib/tr-grid-percent-bar/es6/PercentBar.js +8 -11
  134. package/lib/tr-grid-printer/es6/SectionWriter.js +8 -0
  135. package/lib/tr-grid-range-bar/es6/RangeBar.js +3 -10
  136. package/lib/tr-grid-row-dragging/es6/RowDragging.d.ts +6 -0
  137. package/lib/tr-grid-row-dragging/es6/RowDragging.js +56 -23
  138. package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +4 -3
  139. package/lib/tr-grid-row-filtering/es6/RowFiltering.js +57 -13
  140. package/lib/tr-grid-row-grouping/es6/RowGrouping.js +1 -1
  141. package/lib/tr-grid-row-selection/es6/RowSelection.js +2 -3
  142. package/lib/tr-grid-rowcoloring/es6/RowColoring.d.ts +0 -2
  143. package/lib/tr-grid-rowcoloring/es6/RowColoring.js +1 -40
  144. package/lib/tr-grid-util/es6/CellPainter.d.ts +30 -30
  145. package/lib/tr-grid-util/es6/CellPainter.js +9 -8
  146. package/lib/tr-grid-util/es6/Conflator.d.ts +4 -4
  147. package/lib/tr-grid-util/es6/CoralItems.d.ts +1 -1
  148. package/lib/tr-grid-util/es6/DateTime.d.ts +10 -10
  149. package/lib/tr-grid-util/es6/Deferred.d.ts +3 -1
  150. package/lib/tr-grid-util/es6/Deferred.js +11 -1
  151. package/lib/tr-grid-util/es6/Delay.d.ts +2 -2
  152. package/lib/tr-grid-util/es6/Dom.d.ts +10 -10
  153. package/lib/tr-grid-util/es6/Dom.js +14 -10
  154. package/lib/tr-grid-util/es6/DragUI.js +5 -2
  155. package/lib/tr-grid-util/es6/ElementObserver.d.ts +2 -2
  156. package/lib/tr-grid-util/es6/ElementWrapper.d.ts +4 -4
  157. package/lib/tr-grid-util/es6/ElfDate.d.ts +5 -5
  158. package/lib/tr-grid-util/es6/ElfDate.js +1 -0
  159. package/lib/tr-grid-util/es6/ElfUtil.d.ts +10 -4
  160. package/lib/tr-grid-util/es6/ElfUtil.js +53 -4
  161. package/lib/tr-grid-util/es6/EventDispatcher.d.ts +5 -5
  162. package/lib/tr-grid-util/es6/ExpanderIcon.d.ts +2 -2
  163. package/lib/tr-grid-util/es6/ExpanderIcon.js +1 -1
  164. package/lib/tr-grid-util/es6/Ext.d.ts +1 -1
  165. package/lib/tr-grid-util/es6/FieldFormatter.d.ts +12 -12
  166. package/lib/tr-grid-util/es6/FieldFormatter.js +1 -1
  167. package/lib/tr-grid-util/es6/FilterBuilder.d.ts +13 -13
  168. package/lib/tr-grid-util/es6/FilterBuilder.js +15 -8
  169. package/lib/tr-grid-util/es6/FilterOperators.d.ts +22 -22
  170. package/lib/tr-grid-util/es6/FilterOperators.js +3 -3
  171. package/lib/tr-grid-util/es6/GridPlugin.d.ts +10 -10
  172. package/lib/tr-grid-util/es6/GridPlugin.js +20 -0
  173. package/lib/tr-grid-util/es6/Icon.d.ts +3 -3
  174. package/lib/tr-grid-util/es6/MouseDownTrait.d.ts +8 -8
  175. package/lib/tr-grid-util/es6/MultiTableManager.d.ts +6 -6
  176. package/lib/tr-grid-util/es6/NumberFormatter.d.ts +19 -19
  177. package/lib/tr-grid-util/es6/NumberFormatter.js +1 -1
  178. package/lib/tr-grid-util/es6/PercentBar.d.ts +19 -19
  179. package/lib/tr-grid-util/es6/Perf.d.ts +4 -4
  180. package/lib/tr-grid-util/es6/Popup.d.ts +36 -33
  181. package/lib/tr-grid-util/es6/Popup.js +19 -1
  182. package/lib/tr-grid-util/es6/RangeBar.d.ts +5 -5
  183. package/lib/tr-grid-util/es6/RequestQueue.d.ts +4 -4
  184. package/lib/tr-grid-util/es6/RowPainter.d.ts +37 -4
  185. package/lib/tr-grid-util/es6/RowPainter.js +199 -76
  186. package/lib/tr-grid-util/es6/SubTable.d.ts +14 -14
  187. package/lib/tr-grid-util/es6/Table.d.ts +25 -25
  188. package/lib/tr-grid-util/es6/TextHighlighter.d.ts +1 -1
  189. package/lib/tr-grid-util/es6/Timer.d.ts +1 -1
  190. package/lib/tr-grid-util/es6/TouchProxy.d.ts +9 -9
  191. package/lib/tr-grid-util/es6/Util.d.ts +12 -12
  192. package/lib/tr-grid-util/es6/formula/ADCService.d.ts +1 -1
  193. package/lib/tr-grid-util/es6/formula/ADCSubscription.d.ts +1 -1
  194. package/lib/tr-grid-util/es6/formula/AdFinService.d.ts +1 -1
  195. package/lib/tr-grid-util/es6/formula/AdFinSubscription.d.ts +1 -1
  196. package/lib/tr-grid-util/es6/formula/Engine.d.ts +9 -9
  197. package/lib/tr-grid-util/es6/formula/Formula.d.ts +4 -4
  198. package/lib/tr-grid-util/es6/formula/IntervalSubscription.d.ts +1 -1
  199. package/lib/tr-grid-util/es6/formula/Realtime.d.ts +3 -3
  200. package/lib/tr-grid-util/es6/formula/RealtimeService.d.ts +1 -1
  201. package/lib/tr-grid-util/es6/formula/TSIService.d.ts +1 -1
  202. package/lib/tr-grid-util/es6/formula/TSISubscription.d.ts +1 -1
  203. package/lib/tr-grid-util/es6/formula/VariableToken.d.ts +1 -1
  204. package/lib/tr-grid-util/es6/jet/CollectionDict.d.ts +1 -1
  205. package/lib/tr-grid-util/es6/jet/DataGenerator.d.ts +34 -34
  206. package/lib/tr-grid-util/es6/jet/MockArchive.d.ts +1 -1
  207. package/lib/tr-grid-util/es6/jet/MockJET.d.ts +4 -4
  208. package/lib/tr-grid-util/es6/jet/MockJET.js +12 -4
  209. package/lib/tr-grid-util/es6/jet/MockQuotes.d.ts +9 -9
  210. package/lib/tr-grid-util/es6/jet/MockQuotes2.d.ts +17 -9
  211. package/lib/tr-grid-util/es6/jet/MockQuotes2.js +84 -24
  212. package/lib/tr-grid-util/es6/jet/MockRTK.d.ts +42 -2
  213. package/lib/tr-grid-util/es6/jet/MockRTK.js +55 -16
  214. package/lib/tr-grid-util/es6/jet/mockDataAPI.d.ts +2 -2
  215. package/lib/tr-grid-util/es6/jet/mockDataAPI.js +99 -1
  216. package/lib/types/es6/CellSelection.d.ts +11 -11
  217. package/lib/types/es6/Checkbox.d.ts +18 -16
  218. package/lib/types/es6/ColumnFormatting.d.ts +29 -27
  219. package/lib/types/es6/ColumnGrouping.d.ts +28 -14
  220. package/lib/types/es6/ColumnResizing.d.ts +2 -2
  221. package/lib/types/es6/ColumnStack.d.ts +15 -13
  222. package/lib/types/es6/CompositeGrid/ColumnSelectionPlugin.d.ts +4 -2
  223. package/lib/types/es6/CompositeGrid/ColumnWidthAdjustingPlugin.d.ts +0 -1
  224. package/lib/types/es6/CompositeGrid/CompositeGrid.d.ts +1 -1
  225. package/lib/types/es6/CompositeGrid/DragAndDropTitlePlugin.d.ts +1 -1
  226. package/lib/types/es6/CompositeGrid/DraggableContentPlugin.d.ts +1 -5
  227. package/lib/types/es6/CompositeGrid/Plugin.d.ts +3 -1
  228. package/lib/types/es6/CompositeGrid/ResizableTitlePlugin.d.ts +2 -1
  229. package/lib/types/es6/CompositeGrid/RowSelectionPlugin.d.ts +2 -1
  230. package/lib/types/es6/CompositeGrid/TextWidthCalculator.d.ts +1 -1
  231. package/lib/types/es6/CompositeGrid/TreeIndentingPlugin.d.ts +0 -1
  232. package/lib/types/es6/ConditionalColoring.d.ts +11 -2
  233. package/lib/types/es6/Core/data/ColumnStats.d.ts +3 -3
  234. package/lib/types/es6/Core/data/DataCache.d.ts +9 -9
  235. package/lib/types/es6/Core/data/DataTable.d.ts +28 -28
  236. package/lib/types/es6/Core/data/DataView.d.ts +62 -62
  237. package/lib/types/es6/Core/data/Segment.d.ts +8 -4
  238. package/lib/types/es6/Core/data/SegmentCollection.d.ts +9 -7
  239. package/lib/types/es6/Core/data/WrappedView.d.ts +62 -62
  240. package/lib/types/es6/Core/grid/Core.d.ts +95 -95
  241. package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +20 -20
  242. package/lib/types/es6/Core/grid/LayoutGrid.d.ts +2 -2
  243. package/lib/types/es6/Core/grid/VirtualizedLayoutGrid.d.ts +2 -2
  244. package/lib/types/es6/Core/grid/components/Cell.d.ts +6 -6
  245. package/lib/types/es6/Core/grid/components/CellFloatingPanel.d.ts +2 -2
  246. package/lib/types/es6/Core/grid/components/CellSpans.d.ts +2 -2
  247. package/lib/types/es6/Core/grid/components/Column.d.ts +2 -2
  248. package/lib/types/es6/Core/grid/components/ElementWrapper.d.ts +19 -19
  249. package/lib/types/es6/Core/grid/components/Scrollbar.d.ts +9 -9
  250. package/lib/types/es6/Core/grid/event/EventDispatcher.d.ts +3 -3
  251. package/lib/types/es6/Core/grid/event/EventListeners.d.ts +5 -5
  252. package/lib/types/es6/Core/grid/plugins/SortableTitlePlugin.d.ts +45 -44
  253. package/lib/types/es6/Core/grid/util/Conflator.d.ts +4 -4
  254. package/lib/types/es6/Core/grid/util/HttpRequest.d.ts +3 -3
  255. package/lib/types/es6/Core/grid/util/PercentBar.d.ts +8 -8
  256. package/lib/types/es6/Core/grid/util/PercentBarRenderer.d.ts +8 -8
  257. package/lib/types/es6/Core/grid/util/RangeBar.d.ts +1 -1
  258. package/lib/types/es6/Core/grid/util/Reverter.d.ts +1 -1
  259. package/lib/types/es6/Core/grid/util/SectionSettings.d.ts +13 -13
  260. package/lib/types/es6/Core/grid/util/SelectionList.d.ts +2 -2
  261. package/lib/types/es6/Core/grid/util/TrackLayout.d.ts +9 -9
  262. package/lib/types/es6/Core/grid/util/Virtualizer.d.ts +3 -3
  263. package/lib/types/es6/Core/grid/util/util.d.ts +6 -4
  264. package/lib/types/es6/Core/index.d.ts +1 -0
  265. package/lib/types/es6/HeatMap.d.ts +2 -1
  266. package/lib/types/es6/InCellEditing.d.ts +5 -2
  267. package/lib/types/es6/MenuEventAPI.d.ts +2 -2
  268. package/lib/types/es6/MenuItem.d.ts +2 -2
  269. package/lib/types/es6/PercentBar.d.ts +1 -1
  270. package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +46 -42
  271. package/lib/types/es6/RealtimeGrid/DataConnector.d.ts +6 -4
  272. package/lib/types/es6/RealtimeGrid/FieldDefinition.d.ts +2 -2
  273. package/lib/types/es6/RealtimeGrid/Grid.d.ts +100 -92
  274. package/lib/types/es6/RealtimeGrid/ReferenceCounter.d.ts +5 -5
  275. package/lib/types/es6/RealtimeGrid/RowDefSorter.d.ts +2 -2
  276. package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +22 -22
  277. package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +3 -3
  278. package/lib/types/es6/RealtimeGrid/StyleLoader.d.ts +1 -1
  279. package/lib/types/es6/RowColoring.d.ts +0 -2
  280. package/lib/types/es6/RowDragging.d.ts +6 -0
  281. package/lib/types/es6/RowFiltering.d.ts +4 -3
  282. package/lib/types/es6/RowSegmenting.d.ts +30 -24
  283. package/lib/versions.json +27 -27
  284. 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,70 +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
31
  };
32
32
 
33
33
  type ADCOptions = {
34
- productId?: string
34
+ productId?: string|null
35
35
  };
36
36
 
37
37
  type GridOptions = {
38
- columns?: (ColumnDefinition.Options|string)[],
39
- defaultColumnOptions?: ColumnDefinition.Options,
40
- rows?: (RowDefinition.Options)[],
41
- fields?: (string)[],
42
- rics?: (string)[],
43
- plugins?: any[],
44
- extensions?: any[],
45
- scrollbar?: boolean,
46
- linearWheelScrolling?: boolean,
47
- stepScroll?: boolean,
48
- autoHideScrollbar?: boolean,
49
- pageSize?: string,
50
- rowHeight?: number,
51
- headerRowHeight?: number,
52
- noColumnDragging?: boolean,
53
- columnReorder?: boolean,
54
- rowHighlighting?: boolean,
55
- autoLayoutUpdate?: (boolean|number),
56
- columnFreezing?: number,
57
- freezeColumn?: number,
58
- pinnedRightColumns?: number,
59
- staticDataRows?: any[],
60
- dataFields?: (string)[],
61
- rowVirtualization?: boolean,
62
- columnVirtualization?: boolean,
63
- topFreezingCount?: (number|null|boolean),
64
- bottomFreezingCount?: (number|null),
65
- borders?: boolean,
66
- gridlines?: boolean,
67
- verticalLines?: boolean,
68
- 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,
69
70
  RTK?: any,
70
- ADC?: Grid.ADCOptions,
71
- synapse?: Grid.SynapseConfig,
72
- contentRightPadding?: number,
73
- contentBottomPadding?: number,
74
- dataConflationRate?: number,
75
- dataComposed?: ((...params: any[]) => any),
76
- autoDateConversion?: boolean,
77
- textSelect?: boolean,
78
- lang?: string,
79
- scrollbarParent?: Element,
80
- formulaEngine?: boolean,
81
- 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
82
84
  };
83
85
 
84
- type RowReference = number|string|RowDefinition;
86
+ type RowReference = number|string|RowDefinition|null;
85
87
 
86
- type ColumnReference = number|string|ColumnDefinition;
88
+ type ColumnReference = number|string|ColumnDefinition|null;
87
89
 
88
90
  }
89
91
 
90
92
  declare class Grid extends EventDispatcher {
91
93
 
92
- constructor(placeholder?: (Element|null), config?: Grid.GridOptions);
94
+ constructor(placeholder?: (Element|null)|null, config?: Grid.GridOptions|null);
93
95
 
94
96
  public dispose(): void;
95
97
 
@@ -97,103 +99,105 @@ declare class Grid extends EventDispatcher {
97
99
 
98
100
  public removeEventListeners(): void;
99
101
 
100
- public listen(type: string, handler: ((...params: any[]) => any)): void;
102
+ public listen(type: string, handler: ((...params: any[]) => any)|null): void;
101
103
 
102
104
  public initSubscription(): void;
103
105
 
104
106
  public updateLayout(): void;
105
107
 
106
- public updateRowData(opt_rowIndex?: number): void;
108
+ public updateRowData(opt_rowIndex?: number|null): void;
107
109
 
108
- public addHeaderSection(sectionName?: string): any;
110
+ public addHeaderSection(sectionName?: string|null): any;
109
111
 
110
- public addFooterSection(sectionName?: string): any;
112
+ public addFooterSection(sectionName?: string|null): any;
111
113
 
112
- public setParent(elem: Element): void;
114
+ public setParent(elem: Element|null): void;
113
115
 
114
- public insertBefore(elem: Element): void;
116
+ public insertBefore(elem: Element|null): void;
115
117
 
116
118
  public getRelativePosition(obj: ElementWrapper|Element|Event|MouseEvent): any;
117
119
 
118
120
  public getCoreGrid(): Core|null;
119
121
 
120
- public initialize(gridOption?: Grid.GridOptions): void;
122
+ public initialize(gridOption?: Grid.GridOptions|null): void;
121
123
 
122
124
  public getConfigObject(gridOptions?: any): any;
123
125
 
124
126
  public setLocale(lang: string): void;
125
127
 
126
- public insertColumn(columnOption: ColumnDefinition.Options|string, idx?: number): void;
128
+ public insertColumn(columnOption: ColumnDefinition.Options|string|null, idx?: number|null): void;
127
129
 
128
- public replaceColumn(columnOption: ColumnDefinition.Options|string, colRef: Grid.ColumnReference): void;
130
+ public replaceColumn(columnOption: ColumnDefinition.Options|string|null, colRef: Grid.ColumnReference|null): void;
129
131
 
130
- public setColumns(columns: (any)[]): void;
132
+ public setColumns(columns: (any)[]|null): void;
131
133
 
132
- public setFields(ary: (string)[]): void;
134
+ public setFields(ary: (string)[]|null): void;
133
135
 
134
- public removeColumn(colRef: Grid.ColumnReference): void;
136
+ public removeColumn(colRef: Grid.ColumnReference|null): void;
135
137
 
136
- public removeColumns(colRefs: (Grid.ColumnReference)[]): void;
138
+ public removeColumns(colRefs: (Grid.ColumnReference)[]|null): void;
137
139
 
138
140
  public removeAllColumns(): void;
139
141
 
140
- public moveColumn(fromColIndex: number|(number)[], toColIndex: number): boolean;
142
+ public moveColumn(fromColIndex: number|(number)[]|null, toColIndex: number): boolean;
141
143
 
142
- public hideColumn(colRef: Grid.ColumnReference, hidden?: boolean): void;
144
+ public hideColumn(colRef: Grid.ColumnReference|null, hidden?: boolean|null): void;
143
145
 
144
- public hideColumns(colRefs: (Grid.ColumnReference)[], hidden?: boolean): void;
146
+ public hideColumns(colRefs: (Grid.ColumnReference)[]|null, hidden?: boolean|null): void;
145
147
 
146
148
  public showAllColumns(): void;
147
149
 
148
- public addDataFields(fieldRef: string|(string)[], referrer?: string): boolean;
150
+ public addDataFields(fieldRef: string|(string)[]|null, referrer?: string|null): boolean;
149
151
 
150
- public removeDataFields(fieldRef: string|(string)[], referrer?: string): boolean;
152
+ public removeDataFields(fieldRef: string|(string)[]|null, referrer?: string|null): boolean;
151
153
 
152
- 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;
153
157
 
154
158
  public setColumnName(colIndex: number, str: string): void;
155
159
 
156
- public setColumnRenderer(colRef: Grid.ColumnReference, func?: ((...params: any[]) => any)): void;
160
+ public setColumnRenderer(colRef: Grid.ColumnReference|null, func?: ((...params: any[]) => any)|null): void;
157
161
 
158
- 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;
159
163
 
160
- public setColumnFormatter(colIndex: number, formatter?: any|((...params: any[]) => any)): void;
164
+ public setColumnFormatter(colIndex: number, formatter?: any|((...params: any[]) => any)|null): void;
161
165
 
162
- public setColumnSorter(colRef: Grid.ColumnReference, func?: ColumnDefinition.SortLogic): void;
166
+ public setColumnSorter(colRef: Grid.ColumnReference|null, func?: ColumnDefinition.SortLogic|null): void;
163
167
 
164
- public _initDuplicateRicData(rowDef: RowDefinition): void;
168
+ public _initDuplicateRicData(rowDef: RowDefinition|null): void;
165
169
 
166
- public insertRow(rowOption?: any, rowRef?: Grid.RowReference): any;
170
+ public insertRow(rowOption?: any, rowRef?: Grid.RowReference|null): any;
167
171
 
168
- 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;
169
173
 
170
- public addStaticDataRows(dataRows: any[], fields?: (string)[]): void;
174
+ public addStaticDataRows(dataRows: any[]|null, fields?: (string)[]|null): void;
171
175
 
172
- public updateDataSet(records: (any)[], rowIdentifier: string): void;
176
+ public updateDataSet(records: (any)[]|null, rowIdentifier: string): void;
173
177
 
174
- public removeRow(rowRef: Grid.RowReference): RowDefinition|null;
178
+ public removeRow(rowRef: Grid.RowReference|null): RowDefinition|null;
175
179
 
176
- public removeRows(rowRefs: (Grid.RowReference)[]): (RowDefinition)[]|null;
180
+ public removeRows(rowRefs: (Grid.RowReference)[]|null): (RowDefinition)[]|null;
177
181
 
178
182
  public removeAllRows(): void;
179
183
 
180
- public hideRow(rowRef: Grid.RowReference, hidden?: boolean): void;
184
+ public hideRow(rowRef: Grid.RowReference|null, hidden?: boolean|null): void;
181
185
 
182
- public hideRows(rowRefs: Grid.RowReference | (Grid.RowReference)[], hidden?: boolean): void;
186
+ public hideRows(rowRefs: Grid.RowReference | (Grid.RowReference)[]|null, hidden?: boolean|null): void;
183
187
 
184
- public showRows(rowRefs: Grid.RowReference | (Grid.RowReference)[], shown?: boolean): void;
188
+ public showRows(rowRefs: Grid.RowReference | (Grid.RowReference)[]|null, shown?: boolean|null): void;
185
189
 
186
190
  public unhideAllRows(): void;
187
191
 
188
192
  public hasHiddenRow(): boolean;
189
193
 
190
- public setRic(rowRef: Grid.RowReference, str: string): void;
194
+ public setRic(rowRef: Grid.RowReference|null, str: string): void;
191
195
 
192
- public setRowContent(rowRef: Grid.RowReference, str: string): void;
196
+ public setRowContent(rowRef: Grid.RowReference|null, str: string): void;
193
197
 
194
- public toggleRowExpansion(rid: string|number, force?: boolean): void;
198
+ public toggleRowExpansion(rid: string|number|null, force?: boolean|null): void;
195
199
 
196
- public setRics(ary: (string)[]): void;
200
+ public setRics(ary: (string)[]|null): void;
197
201
 
198
202
  public getRowCount(): number;
199
203
 
@@ -207,11 +211,15 @@ declare class Grid extends EventDispatcher {
207
211
 
208
212
  public getColumnDefinition(colIndex: number): ColumnDefinition|null;
209
213
 
210
- 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;
211
219
 
212
220
  public getRowDefinitions(): (RowDefinition)[];
213
221
 
214
- public getAllRowDefinitions(inclAutoGenerate?: boolean): (RowDefinition)[];
222
+ public getAllRowDefinitions(inclAutoGenerate?: boolean|null): (RowDefinition)[];
215
223
 
216
224
  public getRowData(rowIndex: number): any;
217
225
 
@@ -219,11 +227,11 @@ declare class Grid extends EventDispatcher {
219
227
 
220
228
  public setRicData(ric: string, values: any): void;
221
229
 
222
- public setRowData(rowRef: Grid.RowReference, values: any): void;
230
+ public setRowData(rowRef: Grid.RowReference|null, values: any): void;
223
231
 
224
- public getColumnIndex(colRef: Grid.ColumnReference): number;
232
+ public getColumnIndex(colRef: Grid.ColumnReference|null): number;
225
233
 
226
- public getColumnIndices(colRefs: (Grid.ColumnReference)[]): (number)[];
234
+ public getColumnIndices(colRefs: (Grid.ColumnReference)[]|null): (number)[];
227
235
 
228
236
  public getColumnId(colIndex: number): string;
229
237
 
@@ -233,7 +241,7 @@ declare class Grid extends EventDispatcher {
233
241
 
234
242
  public getAllFields(): (string)[];
235
243
 
236
- public freezeColumn(colIndex?: number, pinnedRightColumns?: number): void;
244
+ public freezeColumn(colIndex?: number|null, pinnedRightColumns?: number|null): void;
237
245
 
238
246
  public updateColumnTitle(): void;
239
247
 
@@ -257,7 +265,7 @@ declare class Grid extends EventDispatcher {
257
265
 
258
266
  public getPageCount(): number;
259
267
 
260
- public toggleChain(rowRef: Grid.RowReference): void;
268
+ public toggleChain(rowRef: Grid.RowReference|null): void;
261
269
 
262
270
  public focus(): void;
263
271
 
@@ -267,7 +275,7 @@ declare class Grid extends EventDispatcher {
267
275
 
268
276
  public getExtension(str: string): any;
269
277
 
270
- public activateADCPolling(activated?: boolean): void;
278
+ public activateADCPolling(activated?: boolean|null): void;
271
279
 
272
280
  public refreshADCData(): boolean;
273
281