@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.
- package/lib/column-dragging/es6/ColumnDragging.d.ts +13 -11
- package/lib/column-dragging/es6/ColumnDragging.js +21 -15
- package/lib/column-format-dialog/lib/column-format-dialog.d.ts +1 -1
- package/lib/column-format-dialog/lib/column-format-dialog.js +3 -4
- package/lib/column-format-dialog/lib/preview-table.js +3 -4
- package/lib/column-selection-dialog/lib/column-selection-dialog.d.ts +2 -2
- package/lib/column-selection-dialog/lib/column-selection-dialog.js +23 -7
- package/lib/core/dist/core.css +1 -1
- package/lib/core/dist/core.js +456 -269
- package/lib/core/dist/core.min.js +1 -1
- package/lib/core/es6/data/ColumnStats.d.ts +3 -3
- package/lib/core/es6/data/DataCache.d.ts +9 -9
- package/lib/core/es6/data/DataTable.d.ts +28 -28
- package/lib/core/es6/data/DataTable.js +44 -11
- package/lib/core/es6/data/DataView.d.ts +62 -62
- package/lib/core/es6/data/DataView.js +42 -22
- package/lib/core/es6/data/Segment.d.ts +8 -4
- package/lib/core/es6/data/Segment.js +16 -0
- package/lib/core/es6/data/SegmentCollection.d.ts +9 -7
- package/lib/core/es6/data/SegmentCollection.js +38 -36
- package/lib/core/es6/data/WrappedView.d.ts +62 -62
- package/lib/core/es6/grid/Core.d.ts +95 -95
- package/lib/core/es6/grid/Core.js +173 -25
- package/lib/core/es6/grid/ILayoutGrid.d.ts +20 -20
- package/lib/core/es6/grid/ILayoutGrid.js +2 -1
- package/lib/core/es6/grid/LayoutGrid.d.ts +2 -2
- package/lib/core/es6/grid/LayoutGrid.js +18 -10
- package/lib/core/es6/grid/VirtualizedLayoutGrid.d.ts +2 -2
- package/lib/core/es6/grid/VirtualizedLayoutGrid.js +14 -3
- package/lib/core/es6/grid/components/Cell.d.ts +6 -6
- package/lib/core/es6/grid/components/Cell.js +3 -0
- package/lib/core/es6/grid/components/CellFloatingPanel.d.ts +4 -2
- package/lib/core/es6/grid/components/CellFloatingPanel.js +7 -0
- package/lib/core/es6/grid/components/CellSpans.d.ts +2 -2
- package/lib/core/es6/grid/components/Column.d.ts +2 -2
- package/lib/core/es6/grid/components/ElementWrapper.d.ts +19 -19
- package/lib/core/es6/grid/components/Scrollbar.d.ts +9 -9
- package/lib/core/es6/grid/components/StretchedCells.js +19 -5
- package/lib/core/es6/grid/event/EventDispatcher.d.ts +3 -3
- package/lib/core/es6/grid/event/EventListeners.d.ts +5 -5
- package/lib/core/es6/grid/plugins/SortableTitlePlugin.d.ts +45 -44
- package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +62 -65
- package/lib/core/es6/grid/util/Conflator.d.ts +4 -4
- package/lib/core/es6/grid/util/HttpRequest.d.ts +3 -3
- package/lib/core/es6/grid/util/PercentBar.d.ts +8 -8
- package/lib/core/es6/grid/util/PercentBarRenderer.d.ts +8 -8
- package/lib/core/es6/grid/util/RangeBar.d.ts +1 -1
- package/lib/core/es6/grid/util/RangeBar.js +1 -1
- package/lib/core/es6/grid/util/Reverter.d.ts +1 -1
- package/lib/core/es6/grid/util/SectionSettings.d.ts +13 -13
- package/lib/core/es6/grid/util/SelectionList.d.ts +2 -2
- package/lib/core/es6/grid/util/TrackLayout.d.ts +9 -9
- package/lib/core/es6/grid/util/Virtualizer.d.ts +3 -3
- package/lib/core/es6/grid/util/util.d.ts +6 -4
- package/lib/core/es6/grid/util/util.js +16 -91
- package/lib/core/es6/index.d.ts +1 -0
- package/lib/core/es6/index.js +2 -0
- package/lib/core/es6/tr-grid-theme.js +1 -1
- package/lib/filter-dialog/lib/checkbox-list.d.ts +1 -1
- package/lib/filter-dialog/lib/filter-dialog.d.ts +1 -1
- package/lib/filter-dialog/lib/filter-dialog.js +27 -9
- package/lib/filter-dialog/themes/base-checkbox.less +0 -1
- package/lib/filter-dialog/themes/base.less +1 -1
- package/lib/filter-dialog/themes/elemental/dark/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/elemental/dark/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/elemental/dark/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/elemental/light/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/elemental/light/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/elemental/light/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/halo/dark/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/halo/dark/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/halo/dark/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/halo/light/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/halo/light/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/halo/light/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/solar/charcoal/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/solar/charcoal/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/solar/charcoal/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/solar/pearl/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/solar/pearl/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/solar/pearl/filter-dialog.js +1 -1
- package/lib/formatters/es6/index.d.ts +1 -1
- package/lib/formatters/es6/index.js +1 -1
- package/lib/grid/index.js +1 -1
- package/lib/grid/lib/efx-grid.js +3 -0
- package/lib/grid/themes/halo/dark/efx-grid.js +1 -1
- package/lib/grid/themes/halo/dark/es5/all-elements.js +1 -1
- package/lib/grid/themes/halo/efx-grid.less +5 -5
- package/lib/grid/themes/halo/light/efx-grid.js +1 -1
- package/lib/grid/themes/halo/light/es5/all-elements.js +1 -1
- package/lib/row-segmenting/es6/RowSegmenting.d.ts +30 -24
- package/lib/row-segmenting/es6/RowSegmenting.js +122 -21
- package/lib/rt-grid/dist/rt-grid.js +689 -367
- package/lib/rt-grid/dist/rt-grid.min.js +1 -1
- package/lib/rt-grid/es6/ColumnDefinition.d.ts +46 -42
- package/lib/rt-grid/es6/ColumnDefinition.js +31 -1
- package/lib/rt-grid/es6/DataConnector.d.ts +6 -4
- package/lib/rt-grid/es6/DataConnector.js +8 -0
- package/lib/rt-grid/es6/FieldDefinition.d.ts +2 -2
- package/lib/rt-grid/es6/FieldDefinition.js +12 -5
- package/lib/rt-grid/es6/Grid.d.ts +102 -94
- package/lib/rt-grid/es6/Grid.js +70 -105
- package/lib/rt-grid/es6/ReferenceCounter.d.ts +5 -5
- package/lib/rt-grid/es6/RowDefSorter.d.ts +2 -2
- package/lib/rt-grid/es6/RowDefinition.d.ts +22 -22
- package/lib/rt-grid/es6/RowDefinition.js +12 -5
- package/lib/rt-grid/es6/SnapshotFiller.d.ts +3 -3
- package/lib/rt-grid/es6/StyleLoader.d.ts +1 -1
- package/lib/tr-grid-cell-selection/es6/CellSelection.d.ts +11 -11
- package/lib/tr-grid-cell-selection/es6/CellSelection.js +50 -54
- package/lib/tr-grid-checkbox/es6/Checkbox.d.ts +18 -16
- package/lib/tr-grid-checkbox/es6/Checkbox.js +1 -0
- package/lib/tr-grid-column-formatting/es6/ColumnFormatting.d.ts +29 -27
- package/lib/tr-grid-column-formatting/es6/ColumnFormatting.js +1 -0
- package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +28 -14
- package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +556 -11
- package/lib/tr-grid-column-resizing/es6/ColumnResizing.d.ts +2 -2
- package/lib/tr-grid-column-resizing/es6/ColumnResizing.js +1 -0
- package/lib/tr-grid-column-selection/es6/ColumnSelection.js +2 -3
- package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +15 -13
- package/lib/tr-grid-column-stack/es6/ColumnStack.js +96 -72
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.d.ts +11 -2
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +309 -114
- package/lib/tr-grid-content-wrap/es6/ContentWrap.js +1 -6
- package/lib/tr-grid-contextmenu/es6/ContextMenu.js +3 -3
- package/lib/tr-grid-contextmenu/es6/MenuEventAPI.d.ts +2 -2
- package/lib/tr-grid-contextmenu/es6/MenuItem.d.ts +2 -2
- package/lib/tr-grid-heat-map/es6/HeatMap.d.ts +2 -1
- package/lib/tr-grid-heat-map/es6/HeatMap.js +6 -9
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +5 -2
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +311 -71
- package/lib/tr-grid-percent-bar/es6/PercentBar.d.ts +1 -1
- package/lib/tr-grid-percent-bar/es6/PercentBar.js +8 -11
- package/lib/tr-grid-printer/es6/SectionWriter.js +8 -0
- package/lib/tr-grid-range-bar/es6/RangeBar.js +3 -10
- package/lib/tr-grid-row-dragging/es6/RowDragging.d.ts +6 -0
- package/lib/tr-grid-row-dragging/es6/RowDragging.js +56 -23
- package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +4 -3
- package/lib/tr-grid-row-filtering/es6/RowFiltering.js +57 -13
- package/lib/tr-grid-row-grouping/es6/RowGrouping.js +1 -1
- package/lib/tr-grid-row-selection/es6/RowSelection.js +2 -3
- package/lib/tr-grid-rowcoloring/es6/RowColoring.d.ts +0 -2
- package/lib/tr-grid-rowcoloring/es6/RowColoring.js +1 -40
- package/lib/tr-grid-util/es6/CellPainter.d.ts +30 -30
- package/lib/tr-grid-util/es6/CellPainter.js +9 -8
- package/lib/tr-grid-util/es6/Conflator.d.ts +4 -4
- package/lib/tr-grid-util/es6/CoralItems.d.ts +1 -1
- package/lib/tr-grid-util/es6/DateTime.d.ts +10 -10
- package/lib/tr-grid-util/es6/Deferred.d.ts +3 -1
- package/lib/tr-grid-util/es6/Deferred.js +11 -1
- package/lib/tr-grid-util/es6/Delay.d.ts +2 -2
- package/lib/tr-grid-util/es6/Dom.d.ts +10 -10
- package/lib/tr-grid-util/es6/Dom.js +14 -10
- package/lib/tr-grid-util/es6/DragUI.js +5 -2
- package/lib/tr-grid-util/es6/ElementObserver.d.ts +2 -2
- package/lib/tr-grid-util/es6/ElementWrapper.d.ts +4 -4
- package/lib/tr-grid-util/es6/ElfDate.d.ts +5 -5
- package/lib/tr-grid-util/es6/ElfDate.js +1 -0
- package/lib/tr-grid-util/es6/ElfUtil.d.ts +10 -4
- package/lib/tr-grid-util/es6/ElfUtil.js +53 -4
- package/lib/tr-grid-util/es6/EventDispatcher.d.ts +5 -5
- package/lib/tr-grid-util/es6/ExpanderIcon.d.ts +2 -2
- package/lib/tr-grid-util/es6/ExpanderIcon.js +1 -1
- package/lib/tr-grid-util/es6/Ext.d.ts +1 -1
- package/lib/tr-grid-util/es6/FieldFormatter.d.ts +12 -12
- package/lib/tr-grid-util/es6/FieldFormatter.js +1 -1
- package/lib/tr-grid-util/es6/FilterBuilder.d.ts +13 -13
- package/lib/tr-grid-util/es6/FilterBuilder.js +15 -8
- package/lib/tr-grid-util/es6/FilterOperators.d.ts +22 -22
- package/lib/tr-grid-util/es6/FilterOperators.js +3 -3
- package/lib/tr-grid-util/es6/GridPlugin.d.ts +10 -10
- package/lib/tr-grid-util/es6/GridPlugin.js +20 -0
- package/lib/tr-grid-util/es6/Icon.d.ts +3 -3
- package/lib/tr-grid-util/es6/MouseDownTrait.d.ts +8 -8
- package/lib/tr-grid-util/es6/MultiTableManager.d.ts +6 -6
- package/lib/tr-grid-util/es6/NumberFormatter.d.ts +19 -19
- package/lib/tr-grid-util/es6/NumberFormatter.js +1 -1
- package/lib/tr-grid-util/es6/PercentBar.d.ts +19 -19
- package/lib/tr-grid-util/es6/Perf.d.ts +4 -4
- package/lib/tr-grid-util/es6/Popup.d.ts +36 -33
- package/lib/tr-grid-util/es6/Popup.js +19 -1
- package/lib/tr-grid-util/es6/RangeBar.d.ts +5 -5
- package/lib/tr-grid-util/es6/RequestQueue.d.ts +4 -4
- package/lib/tr-grid-util/es6/RowPainter.d.ts +37 -4
- package/lib/tr-grid-util/es6/RowPainter.js +199 -76
- package/lib/tr-grid-util/es6/SubTable.d.ts +14 -14
- package/lib/tr-grid-util/es6/Table.d.ts +25 -25
- package/lib/tr-grid-util/es6/TextHighlighter.d.ts +1 -1
- package/lib/tr-grid-util/es6/Timer.d.ts +1 -1
- package/lib/tr-grid-util/es6/TouchProxy.d.ts +9 -9
- package/lib/tr-grid-util/es6/Util.d.ts +12 -12
- package/lib/tr-grid-util/es6/formula/ADCService.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/ADCSubscription.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/AdFinService.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/AdFinSubscription.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/Engine.d.ts +9 -9
- package/lib/tr-grid-util/es6/formula/Formula.d.ts +4 -4
- package/lib/tr-grid-util/es6/formula/IntervalSubscription.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/Realtime.d.ts +3 -3
- package/lib/tr-grid-util/es6/formula/RealtimeService.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/TSIService.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/TSISubscription.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/VariableToken.d.ts +1 -1
- package/lib/tr-grid-util/es6/jet/CollectionDict.d.ts +1 -1
- package/lib/tr-grid-util/es6/jet/DataGenerator.d.ts +34 -34
- package/lib/tr-grid-util/es6/jet/MockArchive.d.ts +1 -1
- package/lib/tr-grid-util/es6/jet/MockJET.d.ts +4 -4
- package/lib/tr-grid-util/es6/jet/MockJET.js +12 -4
- package/lib/tr-grid-util/es6/jet/MockQuotes.d.ts +9 -9
- package/lib/tr-grid-util/es6/jet/MockQuotes2.d.ts +17 -9
- package/lib/tr-grid-util/es6/jet/MockQuotes2.js +84 -24
- package/lib/tr-grid-util/es6/jet/MockRTK.d.ts +42 -2
- package/lib/tr-grid-util/es6/jet/MockRTK.js +55 -16
- package/lib/tr-grid-util/es6/jet/mockDataAPI.d.ts +2 -2
- package/lib/tr-grid-util/es6/jet/mockDataAPI.js +99 -1
- package/lib/types/es6/CellSelection.d.ts +11 -11
- package/lib/types/es6/Checkbox.d.ts +18 -16
- package/lib/types/es6/ColumnFormatting.d.ts +29 -27
- package/lib/types/es6/ColumnGrouping.d.ts +28 -14
- package/lib/types/es6/ColumnResizing.d.ts +2 -2
- package/lib/types/es6/ColumnStack.d.ts +15 -13
- package/lib/types/es6/CompositeGrid/ColumnSelectionPlugin.d.ts +4 -2
- package/lib/types/es6/CompositeGrid/ColumnWidthAdjustingPlugin.d.ts +0 -1
- package/lib/types/es6/CompositeGrid/CompositeGrid.d.ts +1 -1
- package/lib/types/es6/CompositeGrid/DragAndDropTitlePlugin.d.ts +1 -1
- package/lib/types/es6/CompositeGrid/DraggableContentPlugin.d.ts +1 -5
- package/lib/types/es6/CompositeGrid/Plugin.d.ts +3 -1
- package/lib/types/es6/CompositeGrid/ResizableTitlePlugin.d.ts +2 -1
- package/lib/types/es6/CompositeGrid/RowSelectionPlugin.d.ts +2 -1
- package/lib/types/es6/CompositeGrid/TextWidthCalculator.d.ts +1 -1
- package/lib/types/es6/CompositeGrid/TreeIndentingPlugin.d.ts +0 -1
- package/lib/types/es6/ConditionalColoring.d.ts +11 -2
- package/lib/types/es6/Core/data/ColumnStats.d.ts +3 -3
- package/lib/types/es6/Core/data/DataCache.d.ts +9 -9
- package/lib/types/es6/Core/data/DataTable.d.ts +28 -28
- package/lib/types/es6/Core/data/DataView.d.ts +62 -62
- package/lib/types/es6/Core/data/Segment.d.ts +8 -4
- package/lib/types/es6/Core/data/SegmentCollection.d.ts +9 -7
- package/lib/types/es6/Core/data/WrappedView.d.ts +62 -62
- package/lib/types/es6/Core/grid/Core.d.ts +95 -95
- package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +20 -20
- package/lib/types/es6/Core/grid/LayoutGrid.d.ts +2 -2
- package/lib/types/es6/Core/grid/VirtualizedLayoutGrid.d.ts +2 -2
- package/lib/types/es6/Core/grid/components/Cell.d.ts +6 -6
- package/lib/types/es6/Core/grid/components/CellFloatingPanel.d.ts +2 -2
- package/lib/types/es6/Core/grid/components/CellSpans.d.ts +2 -2
- package/lib/types/es6/Core/grid/components/Column.d.ts +2 -2
- package/lib/types/es6/Core/grid/components/ElementWrapper.d.ts +19 -19
- package/lib/types/es6/Core/grid/components/Scrollbar.d.ts +9 -9
- package/lib/types/es6/Core/grid/event/EventDispatcher.d.ts +3 -3
- package/lib/types/es6/Core/grid/event/EventListeners.d.ts +5 -5
- package/lib/types/es6/Core/grid/plugins/SortableTitlePlugin.d.ts +45 -44
- package/lib/types/es6/Core/grid/util/Conflator.d.ts +4 -4
- package/lib/types/es6/Core/grid/util/HttpRequest.d.ts +3 -3
- package/lib/types/es6/Core/grid/util/PercentBar.d.ts +8 -8
- package/lib/types/es6/Core/grid/util/PercentBarRenderer.d.ts +8 -8
- package/lib/types/es6/Core/grid/util/RangeBar.d.ts +1 -1
- package/lib/types/es6/Core/grid/util/Reverter.d.ts +1 -1
- package/lib/types/es6/Core/grid/util/SectionSettings.d.ts +13 -13
- package/lib/types/es6/Core/grid/util/SelectionList.d.ts +2 -2
- package/lib/types/es6/Core/grid/util/TrackLayout.d.ts +9 -9
- package/lib/types/es6/Core/grid/util/Virtualizer.d.ts +3 -3
- package/lib/types/es6/Core/grid/util/util.d.ts +6 -4
- package/lib/types/es6/Core/index.d.ts +1 -0
- package/lib/types/es6/HeatMap.d.ts +2 -1
- package/lib/types/es6/InCellEditing.d.ts +5 -2
- package/lib/types/es6/MenuEventAPI.d.ts +2 -2
- package/lib/types/es6/MenuItem.d.ts +2 -2
- package/lib/types/es6/PercentBar.d.ts +1 -1
- package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +46 -42
- package/lib/types/es6/RealtimeGrid/DataConnector.d.ts +6 -4
- package/lib/types/es6/RealtimeGrid/FieldDefinition.d.ts +2 -2
- package/lib/types/es6/RealtimeGrid/Grid.d.ts +100 -92
- package/lib/types/es6/RealtimeGrid/ReferenceCounter.d.ts +5 -5
- package/lib/types/es6/RealtimeGrid/RowDefSorter.d.ts +2 -2
- package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +22 -22
- package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +3 -3
- package/lib/types/es6/RealtimeGrid/StyleLoader.d.ts +1 -1
- package/lib/types/es6/RowColoring.d.ts +0 -2
- package/lib/types/es6/RowDragging.d.ts +6 -0
- package/lib/types/es6/RowFiltering.d.ts +4 -3
- package/lib/types/es6/RowSegmenting.d.ts +30 -24
- package/lib/versions.json +27 -27
- package/package.json +2 -2
@@ -4,15 +4,17 @@ declare namespace Util {
|
|
4
4
|
|
5
5
|
const isMobile: boolean;
|
6
6
|
|
7
|
-
function pushArrayItems(ary: any[], items: any[]): any[]|null;
|
7
|
+
function pushArrayItems(ary: any[]|null, items: any[]|null): any[]|null;
|
8
8
|
|
9
|
-
function insertEmptyItems(ary: any[], at: number, chunkSize: number): void;
|
9
|
+
function insertEmptyItems(ary: any[]|null, at: number, chunkSize: number): void;
|
10
10
|
|
11
|
-
function cycleArray(ary: any[], numItems: number): any[]|null;
|
11
|
+
function cycleArray(ary: any[]|null, numItems: number): any[]|null;
|
12
|
+
|
13
|
+
function closestElement(elem: Element|Node|undefined|null, classStr: string): Element|null;
|
12
14
|
|
13
15
|
}
|
14
16
|
|
15
|
-
declare function item(ary: any[]|
|
17
|
+
declare function item(ary: any[]|null, items: any[]|null): any[]|null;
|
16
18
|
|
17
19
|
export default Util;
|
18
20
|
export { Util };
|
@@ -36,6 +36,7 @@ import ColumnStats from "./data/ColumnStats.js";
|
|
36
36
|
import DataCache from "./data/DataCache.js";
|
37
37
|
import DataTable from "./data/DataTable.js";
|
38
38
|
import DataView from "./data/DataView.js";
|
39
|
+
import SegmentCollection from "./data/SegmentCollection.js";
|
39
40
|
|
40
41
|
|
41
42
|
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import {Ext} from '../../tr-grid-util/es6/Ext.js';
|
2
2
|
import {GridPlugin, colDataGetter} from '../../tr-grid-util/es6/GridPlugin.js';
|
3
3
|
import {CellPainter} from '../../tr-grid-util/es6/CellPainter.js';
|
4
|
+
import {ElfUtil} from '../../tr-grid-util/es6/ElfUtil.js';
|
4
5
|
|
5
6
|
declare namespace HeatMapPlugin {
|
6
7
|
|
@@ -30,7 +31,7 @@ declare class HeatMapPlugin extends GridPlugin {
|
|
30
31
|
|
31
32
|
public getConfigObject(out_obj?: any): any;
|
32
33
|
|
33
|
-
public getColumnHeatMap(colIndex: number, grid?: any): CellPainter;
|
34
|
+
public getColumnHeatMap(colIndex: number, grid?: any): CellPainter|null;
|
34
35
|
|
35
36
|
public setColumnHeatMap(colIndex: number, columnDef: any, opt_grid?: any): void;
|
36
37
|
|
@@ -21,6 +21,7 @@ declare namespace InCellEditingPlugin {
|
|
21
21
|
contentSource?: boolean,
|
22
22
|
inlineStyling?: boolean,
|
23
23
|
disablingScroll?: boolean,
|
24
|
+
uiBlocking?: boolean,
|
24
25
|
preEditorOpening?: ((...params: any[]) => any),
|
25
26
|
editorOpened?: ((...params: any[]) => any),
|
26
27
|
beforeCommit?: ((...params: any[]) => any),
|
@@ -28,8 +29,8 @@ declare namespace InCellEditingPlugin {
|
|
28
29
|
keyUp?: ((...params: any[]) => any),
|
29
30
|
beforeRowCommit?: ((...params: any[]) => any),
|
30
31
|
rowEditorClosed?: ((...params: any[]) => any),
|
31
|
-
|
32
|
-
|
32
|
+
autoSuggest?: Element,
|
33
|
+
closingOnScroll?: boolean
|
33
34
|
};
|
34
35
|
|
35
36
|
type Cache = {
|
@@ -126,6 +127,8 @@ declare class InCellEditingPlugin extends GridPlugin {
|
|
126
127
|
|
127
128
|
public setDisablingScroll(disabled?: boolean): boolean;
|
128
129
|
|
130
|
+
public requestShowEditorPopup(): void;
|
131
|
+
|
129
132
|
}
|
130
133
|
|
131
134
|
export default InCellEditingPlugin;
|
@@ -12,9 +12,9 @@ declare class MenuEventAPI {
|
|
12
12
|
|
13
13
|
public addSeparator(): void;
|
14
14
|
|
15
|
-
public getMenuItems(): any[];
|
15
|
+
public getMenuItems(): any[]|null;
|
16
16
|
|
17
|
-
public findItem(id: number): (string)[] | any;
|
17
|
+
public findItem(id: number): (string)[] | any|null;
|
18
18
|
|
19
19
|
}
|
20
20
|
|
@@ -25,13 +25,13 @@ declare class MenuItem extends EventDispatcher {
|
|
25
25
|
|
26
26
|
public setItems(items: any[]): void;
|
27
27
|
|
28
|
-
public getItems(): any[];
|
28
|
+
public getItems(): any[]|null;
|
29
29
|
|
30
30
|
public setType(type: string): void;
|
31
31
|
|
32
32
|
public getType(): string;
|
33
33
|
|
34
|
-
public getElement(): Element;
|
34
|
+
public getElement(): Element|null;
|
35
35
|
|
36
36
|
}
|
37
37
|
|
@@ -10,51 +10,51 @@ declare namespace ColumnDefinition {
|
|
10
10
|
type SortLogic = (valA: any, valB: any, order: number, ctx: any) => void;
|
11
11
|
|
12
12
|
type Options = ExtensionColumnOptions & {
|
13
|
-
field?: string,
|
14
|
-
dataType?: string,
|
15
|
-
formulaReference?: string,
|
16
|
-
require?: (string)[],
|
17
|
-
name?: string,
|
18
|
-
notRealTimeField?: boolean,
|
19
|
-
tooltip?: (boolean|string|null),
|
20
|
-
headerBinding?: ((...params: any[]) => any),
|
21
|
-
headerRenderer?: ((...params: any[]) => any),
|
22
|
-
binding?: GridFormatter & ((...params: any[]) => any),
|
23
|
-
renderer?: ((...params: any[]) => any),
|
24
|
-
sortLogic?: ColumnDefinition.SortLogic,
|
25
|
-
sortingLogic?: ColumnDefinition.SortLogic,
|
26
|
-
sorter?: ColumnDefinition.SortLogic,
|
27
|
-
rowSorting?: boolean,
|
28
|
-
sortable?: boolean,
|
29
|
-
sort?: string,
|
13
|
+
field?: string|null,
|
14
|
+
dataType?: string|null,
|
15
|
+
formulaReference?: string|null,
|
16
|
+
require?: (string)[]|null,
|
17
|
+
name?: string|null,
|
18
|
+
notRealTimeField?: boolean|null,
|
19
|
+
tooltip?: (boolean|string|null)|null,
|
20
|
+
headerBinding?: ((...params: any[]) => any)|null,
|
21
|
+
headerRenderer?: ((...params: any[]) => any)|null,
|
22
|
+
binding?: GridFormatter & ((...params: any[]) => any)|null,
|
23
|
+
renderer?: ((...params: any[]) => any)|null,
|
24
|
+
sortLogic?: ColumnDefinition.SortLogic|null,
|
25
|
+
sortingLogic?: ColumnDefinition.SortLogic|null,
|
26
|
+
sorter?: ColumnDefinition.SortLogic|null,
|
27
|
+
rowSorting?: boolean|null,
|
28
|
+
sortable?: boolean|null,
|
29
|
+
sort?: string|null,
|
30
30
|
styles?: any,
|
31
|
-
width?: number,
|
32
|
-
minWidth?: number,
|
33
|
-
scalable?: boolean,
|
34
|
-
className?: string,
|
35
|
-
class?: string,
|
36
|
-
textAlign?: string,
|
37
|
-
alignment?: string,
|
38
|
-
headerAlignment?: string,
|
39
|
-
titleAlignment?: string,
|
40
|
-
hidden?: boolean,
|
41
|
-
id?: string,
|
42
|
-
textSelect?: boolean,
|
43
|
-
keepModel?: boolean,
|
44
|
-
stationary?: boolean,
|
45
|
-
leftPinned?: boolean,
|
46
|
-
rightPinned?: boolean
|
31
|
+
width?: number|null,
|
32
|
+
minWidth?: number|null,
|
33
|
+
scalable?: boolean|null,
|
34
|
+
className?: string|null,
|
35
|
+
class?: string|null,
|
36
|
+
textAlign?: string|null,
|
37
|
+
alignment?: string|null,
|
38
|
+
headerAlignment?: string|null,
|
39
|
+
titleAlignment?: string|null,
|
40
|
+
hidden?: boolean|null,
|
41
|
+
id?: string|null,
|
42
|
+
textSelect?: boolean|null,
|
43
|
+
keepModel?: boolean|null,
|
44
|
+
stationary?: boolean|null,
|
45
|
+
leftPinned?: boolean|null,
|
46
|
+
rightPinned?: boolean|null
|
47
47
|
};
|
48
48
|
|
49
49
|
}
|
50
50
|
|
51
51
|
declare class ColumnDefinition {
|
52
52
|
|
53
|
-
constructor(columnOption?: ColumnDefinition.Options|string, hostGrid?: any);
|
53
|
+
constructor(columnOption?: ColumnDefinition.Options|string|null, hostGrid?: any);
|
54
54
|
|
55
55
|
public dispose(): void;
|
56
56
|
|
57
|
-
public initialize(columnOption?: ColumnDefinition.Options|string): void;
|
57
|
+
public initialize(columnOption?: ColumnDefinition.Options|string|null): void;
|
58
58
|
|
59
59
|
public getId(): string;
|
60
60
|
|
@@ -76,6 +76,8 @@ declare class ColumnDefinition {
|
|
76
76
|
|
77
77
|
public getDataType(): string;
|
78
78
|
|
79
|
+
public setDataType(dataType: string): void;
|
80
|
+
|
79
81
|
public static getDataType(field: string): string;
|
80
82
|
|
81
83
|
public getTooltip(): string;
|
@@ -94,7 +96,7 @@ declare class ColumnDefinition {
|
|
94
96
|
|
95
97
|
public static isRealTimeField(field: string): boolean;
|
96
98
|
|
97
|
-
public static getRealTimeFields(fields: (string)[], colDef: ColumnDefinition): (string)[];
|
99
|
+
public static getRealTimeFields(fields: (string)[]|null, colDef: ColumnDefinition|null): (string)[];
|
98
100
|
|
99
101
|
public isSortable(): boolean;
|
100
102
|
|
@@ -108,6 +110,8 @@ declare class ColumnDefinition {
|
|
108
110
|
|
109
111
|
public getTextAlign(): string;
|
110
112
|
|
113
|
+
public isFieldEmpty(): boolean;
|
114
|
+
|
111
115
|
public getHeaderAlignment(): string;
|
112
116
|
|
113
117
|
public getClasses(): (string)[];
|
@@ -118,19 +122,19 @@ declare class ColumnDefinition {
|
|
118
122
|
|
119
123
|
public isTextSelect(): boolean;
|
120
124
|
|
121
|
-
public hide(bool?: boolean): void;
|
125
|
+
public hide(bool?: boolean|null): void;
|
122
126
|
|
123
|
-
public setHeaderRenderer(func: ((...params: any[]) => any)): void;
|
127
|
+
public setHeaderRenderer(func: ((...params: any[]) => any)|null): void;
|
124
128
|
|
125
|
-
public setRenderer(func: ((...params: any[]) => any)): void;
|
129
|
+
public setRenderer(func: ((...params: any[]) => any)|null): void;
|
126
130
|
|
127
|
-
public addRenderer(func: ((...params: any[]) => any)): void;
|
131
|
+
public addRenderer(func: ((...params: any[]) => any)|null): void;
|
128
132
|
|
129
|
-
public activateRenderer(id?: string, func?: ((...params: any[]) => any)): boolean;
|
133
|
+
public activateRenderer(id?: string|null, func?: ((...params: any[]) => any)|null): boolean;
|
130
134
|
|
131
135
|
public getSorter(): ((...params: any[]) => any)|null;
|
132
136
|
|
133
|
-
public setSorter(func?: ColumnDefinition.SortLogic): void;
|
137
|
+
public setSorter(func?: ColumnDefinition.SortLogic|null): void;
|
134
138
|
|
135
139
|
public isRowSorting(): boolean;
|
136
140
|
|
@@ -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
|
|
@@ -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
|
15
|
+
function setFieldCaching(caching: boolean): void;
|
16
16
|
|
17
17
|
}
|
18
18
|
|
@@ -28,70 +28,72 @@ declare namespace Grid {
|
|
28
28
|
type SynapseConfig = {
|
29
29
|
apiKey: string,
|
30
30
|
contextApp: string,
|
31
|
-
auth?: string,
|
32
|
-
debug?: boolean
|
31
|
+
auth?: string|null,
|
32
|
+
debug?: boolean|null
|
33
33
|
};
|
34
34
|
|
35
35
|
type ADCOptions = {
|
36
|
-
productId?: string
|
36
|
+
productId?: string|null
|
37
37
|
};
|
38
38
|
|
39
39
|
type GridOptions = ExtensionOptions & {
|
40
|
-
columns?: (ColumnDefinition.Options|string)[],
|
41
|
-
defaultColumnOptions?: ColumnDefinition.Options,
|
42
|
-
rows?: (RowDefinition.Options)[],
|
43
|
-
fields?: (string)[],
|
44
|
-
rics?: (string)[],
|
40
|
+
columns?: (ColumnDefinition.Options|string)[]|null,
|
41
|
+
defaultColumnOptions?: ColumnDefinition.Options|null,
|
42
|
+
rows?: (RowDefinition.Options)[]|null,
|
43
|
+
fields?: (string)[]|null,
|
44
|
+
rics?: (string)[]|null,
|
45
45
|
plugins?: Extensions[],
|
46
46
|
extensions?: Extensions[],
|
47
|
-
scrollbar?: boolean,
|
48
|
-
linearWheelScrolling?: boolean,
|
49
|
-
stepScroll?: boolean,
|
50
|
-
autoHideScrollbar?: boolean,
|
51
|
-
pageSize?: string,
|
52
|
-
rowHeight?: number,
|
53
|
-
headerRowHeight?: number,
|
54
|
-
noColumnDragging?: boolean,
|
55
|
-
columnReorder?: boolean,
|
56
|
-
rowHighlighting?: boolean,
|
57
|
-
autoLayoutUpdate?: (boolean|number),
|
58
|
-
columnFreezing?: number,
|
59
|
-
freezeColumn?: number,
|
60
|
-
pinnedRightColumns?: number,
|
61
|
-
staticDataRows?: any[],
|
62
|
-
dataFields?: (string)[],
|
63
|
-
rowVirtualization?: boolean,
|
64
|
-
columnVirtualization?: boolean,
|
65
|
-
topFreezingCount?: (number|null|boolean),
|
66
|
-
bottomFreezingCount?: (number|null),
|
67
|
-
borders?: boolean,
|
68
|
-
gridlines?: boolean,
|
69
|
-
verticalLines?: boolean,
|
70
|
-
|
47
|
+
scrollbar?: boolean|null,
|
48
|
+
linearWheelScrolling?: boolean|null,
|
49
|
+
stepScroll?: boolean|null,
|
50
|
+
autoHideScrollbar?: boolean|null,
|
51
|
+
pageSize?: string|null,
|
52
|
+
rowHeight?: number|null,
|
53
|
+
headerRowHeight?: number|null,
|
54
|
+
noColumnDragging?: boolean|null,
|
55
|
+
columnReorder?: boolean|null,
|
56
|
+
rowHighlighting?: boolean|null,
|
57
|
+
autoLayoutUpdate?: (boolean|number)|null,
|
58
|
+
columnFreezing?: number|null,
|
59
|
+
freezeColumn?: number|null,
|
60
|
+
pinnedRightColumns?: number|null,
|
61
|
+
staticDataRows?: any[]|null,
|
62
|
+
dataFields?: (string)[]|null,
|
63
|
+
rowVirtualization?: boolean|null,
|
64
|
+
columnVirtualization?: boolean|null,
|
65
|
+
topFreezingCount?: (number|null|boolean)|null,
|
66
|
+
bottomFreezingCount?: (number|null)|null,
|
67
|
+
borders?: boolean|null,
|
68
|
+
gridlines?: boolean|null,
|
69
|
+
verticalLines?: boolean|null,
|
70
|
+
contentVerticalLines?: boolean|null,
|
71
|
+
horizontalLines?: boolean|null,
|
71
72
|
RTK?: any,
|
72
|
-
ADC?: Grid.ADCOptions,
|
73
|
-
synapse?: Grid.SynapseConfig,
|
74
|
-
contentRightPadding?: number,
|
75
|
-
contentBottomPadding?: number,
|
76
|
-
dataConflationRate?: number,
|
77
|
-
dataComposed?: ((...params: any[]) => any),
|
78
|
-
autoDateConversion?: boolean,
|
79
|
-
textSelect?: boolean,
|
80
|
-
lang?: string,
|
81
|
-
scrollbarParent?: Element,
|
82
|
-
formulaEngine?: boolean,
|
83
|
-
adcPollingInterval?: number
|
73
|
+
ADC?: Grid.ADCOptions|null,
|
74
|
+
synapse?: Grid.SynapseConfig|null,
|
75
|
+
contentRightPadding?: number|null,
|
76
|
+
contentBottomPadding?: number|null,
|
77
|
+
dataConflationRate?: number|null,
|
78
|
+
dataComposed?: ((...params: any[]) => any)|null,
|
79
|
+
autoDateConversion?: boolean|null,
|
80
|
+
textSelect?: boolean|null,
|
81
|
+
lang?: string|null,
|
82
|
+
scrollbarParent?: Element|null,
|
83
|
+
formulaEngine?: boolean|null,
|
84
|
+
adcPollingInterval?: number|null,
|
85
|
+
fieldCaching?: boolean|null
|
84
86
|
};
|
85
87
|
|
86
|
-
type RowReference = number|string|RowDefinition;
|
88
|
+
type RowReference = number|string|RowDefinition|null;
|
87
89
|
|
88
|
-
type ColumnReference = number|string|ColumnDefinition;
|
90
|
+
type ColumnReference = number|string|ColumnDefinition|null;
|
89
91
|
|
90
92
|
}
|
91
93
|
|
92
94
|
declare class Grid extends EventDispatcher {
|
93
95
|
|
94
|
-
constructor(placeholder?: (Element|null), config?: Grid.GridOptions);
|
96
|
+
constructor(placeholder?: (Element|null)|null, config?: Grid.GridOptions|null);
|
95
97
|
|
96
98
|
public dispose(): void;
|
97
99
|
|
@@ -99,103 +101,105 @@ declare class Grid extends EventDispatcher {
|
|
99
101
|
|
100
102
|
public removeEventListeners(): void;
|
101
103
|
|
102
|
-
public listen(type: string, handler: ((...params: any[]) => any)): void;
|
104
|
+
public listen(type: string, handler: ((...params: any[]) => any)|null): void;
|
103
105
|
|
104
106
|
public initSubscription(): void;
|
105
107
|
|
106
108
|
public updateLayout(): void;
|
107
109
|
|
108
|
-
public updateRowData(opt_rowIndex?: number): void;
|
110
|
+
public updateRowData(opt_rowIndex?: number|null): void;
|
109
111
|
|
110
|
-
public addHeaderSection(sectionName?: string): any;
|
112
|
+
public addHeaderSection(sectionName?: string|null): any;
|
111
113
|
|
112
|
-
public addFooterSection(sectionName?: string): any;
|
114
|
+
public addFooterSection(sectionName?: string|null): any;
|
113
115
|
|
114
|
-
public setParent(elem: Element): void;
|
116
|
+
public setParent(elem: Element|null): void;
|
115
117
|
|
116
|
-
public insertBefore(elem: Element): void;
|
118
|
+
public insertBefore(elem: Element|null): void;
|
117
119
|
|
118
120
|
public getRelativePosition(obj: ElementWrapper|Element|Event|MouseEvent): any;
|
119
121
|
|
120
122
|
public getCoreGrid(): Core|null;
|
121
123
|
|
122
|
-
public initialize(gridOption?: Grid.GridOptions): void;
|
124
|
+
public initialize(gridOption?: Grid.GridOptions|null): void;
|
123
125
|
|
124
126
|
public getConfigObject(gridOptions?: any): any;
|
125
127
|
|
126
128
|
public setLocale(lang: string): void;
|
127
129
|
|
128
|
-
public insertColumn(columnOption: ColumnDefinition.Options|string, idx?: number): void;
|
130
|
+
public insertColumn(columnOption: ColumnDefinition.Options|string|null, idx?: number|null): void;
|
129
131
|
|
130
|
-
public replaceColumn(columnOption: ColumnDefinition.Options|string, colRef: Grid.ColumnReference): void;
|
132
|
+
public replaceColumn(columnOption: ColumnDefinition.Options|string|null, colRef: Grid.ColumnReference|null): void;
|
131
133
|
|
132
|
-
public setColumns(columns: (any)[]): void;
|
134
|
+
public setColumns(columns: (any)[]|null): void;
|
133
135
|
|
134
|
-
public setFields(ary: (string)[]): void;
|
136
|
+
public setFields(ary: (string)[]|null): void;
|
135
137
|
|
136
|
-
public removeColumn(colRef: Grid.ColumnReference): void;
|
138
|
+
public removeColumn(colRef: Grid.ColumnReference|null): void;
|
137
139
|
|
138
|
-
public removeColumns(colRefs: (Grid.ColumnReference)[]): void;
|
140
|
+
public removeColumns(colRefs: (Grid.ColumnReference)[]|null): void;
|
139
141
|
|
140
142
|
public removeAllColumns(): void;
|
141
143
|
|
142
|
-
public moveColumn(fromColIndex: number|(number)[], toColIndex: number): boolean;
|
144
|
+
public moveColumn(fromColIndex: number|(number)[]|null, toColIndex: number): boolean;
|
143
145
|
|
144
|
-
public hideColumn(colRef: Grid.ColumnReference, hidden?: boolean): void;
|
146
|
+
public hideColumn(colRef: Grid.ColumnReference|null, hidden?: boolean|null): void;
|
145
147
|
|
146
|
-
public hideColumns(colRefs: (Grid.ColumnReference)[], hidden?: boolean): void;
|
148
|
+
public hideColumns(colRefs: (Grid.ColumnReference)[]|null, hidden?: boolean|null): void;
|
147
149
|
|
148
150
|
public showAllColumns(): void;
|
149
151
|
|
150
|
-
public addDataFields(fieldRef: string|(string)[], referrer?: string): boolean;
|
152
|
+
public addDataFields(fieldRef: string|(string)[]|null, referrer?: string|null): boolean;
|
151
153
|
|
152
|
-
public removeDataFields(fieldRef: string|(string)[], referrer?: string): boolean;
|
154
|
+
public removeDataFields(fieldRef: string|(string)[]|null, referrer?: string|null): boolean;
|
153
155
|
|
154
|
-
public
|
156
|
+
public removeFieldReferrer(referrer: string): void;
|
157
|
+
|
158
|
+
public sortColumn(colRef: Grid.ColumnReference|null, opt_order?: string|null): void;
|
155
159
|
|
156
160
|
public setColumnName(colIndex: number, str: string): void;
|
157
161
|
|
158
|
-
public setColumnRenderer(colRef: Grid.ColumnReference, func?: ((...params: any[]) => any)): void;
|
162
|
+
public setColumnRenderer(colRef: Grid.ColumnReference|null, func?: ((...params: any[]) => any)|null): void;
|
159
163
|
|
160
|
-
public activateColumnRenderer(colRef: Grid.ColumnReference, id?: string, func?: ((...params: any[]) => any)): void;
|
164
|
+
public activateColumnRenderer(colRef: Grid.ColumnReference|null, id?: string|null, func?: ((...params: any[]) => any)|null): void;
|
161
165
|
|
162
|
-
public setColumnFormatter(colIndex: number, formatter?: any|((...params: any[]) => any)): void;
|
166
|
+
public setColumnFormatter(colIndex: number, formatter?: any|((...params: any[]) => any)|null): void;
|
163
167
|
|
164
|
-
public setColumnSorter(colRef: Grid.ColumnReference, func?: ColumnDefinition.SortLogic): void;
|
168
|
+
public setColumnSorter(colRef: Grid.ColumnReference|null, func?: ColumnDefinition.SortLogic|null): void;
|
165
169
|
|
166
|
-
public _initDuplicateRicData(rowDef: RowDefinition): void;
|
170
|
+
public _initDuplicateRicData(rowDef: RowDefinition|null): void;
|
167
171
|
|
168
|
-
public insertRow(rowOption?: any, rowRef?: Grid.RowReference): any;
|
172
|
+
public insertRow(rowOption?: any, rowRef?: Grid.RowReference|null): any;
|
169
173
|
|
170
|
-
public insertRows(rowOptions: (any)[], rowRef?: Grid.RowReference, opt_fields?: (string)[]): void;
|
174
|
+
public insertRows(rowOptions: (any)[]|null, rowRef?: Grid.RowReference|null, opt_fields?: (string)[]|null): void;
|
171
175
|
|
172
|
-
public addStaticDataRows(dataRows: any[], fields?: (string)[]): void;
|
176
|
+
public addStaticDataRows(dataRows: any[]|null, fields?: (string)[]|null): void;
|
173
177
|
|
174
|
-
public updateDataSet(records: (any)[], rowIdentifier: string): void;
|
178
|
+
public updateDataSet(records: (any)[]|null, rowIdentifier: string): void;
|
175
179
|
|
176
|
-
public removeRow(rowRef: Grid.RowReference): RowDefinition|null;
|
180
|
+
public removeRow(rowRef: Grid.RowReference|null): RowDefinition|null;
|
177
181
|
|
178
|
-
public removeRows(rowRefs: (Grid.RowReference)[]): (RowDefinition)[]|null;
|
182
|
+
public removeRows(rowRefs: (Grid.RowReference)[]|null): (RowDefinition)[]|null;
|
179
183
|
|
180
184
|
public removeAllRows(): void;
|
181
185
|
|
182
|
-
public hideRow(rowRef: Grid.RowReference, hidden?: boolean): void;
|
186
|
+
public hideRow(rowRef: Grid.RowReference|null, hidden?: boolean|null): void;
|
183
187
|
|
184
|
-
public hideRows(rowRefs: Grid.RowReference | (Grid.RowReference)[], hidden?: boolean): void;
|
188
|
+
public hideRows(rowRefs: Grid.RowReference | (Grid.RowReference)[]|null, hidden?: boolean|null): void;
|
185
189
|
|
186
|
-
public showRows(rowRefs: Grid.RowReference | (Grid.RowReference)[], shown?: boolean): void;
|
190
|
+
public showRows(rowRefs: Grid.RowReference | (Grid.RowReference)[]|null, shown?: boolean|null): void;
|
187
191
|
|
188
192
|
public unhideAllRows(): void;
|
189
193
|
|
190
194
|
public hasHiddenRow(): boolean;
|
191
195
|
|
192
|
-
public setRic(rowRef: Grid.RowReference, str: string): void;
|
196
|
+
public setRic(rowRef: Grid.RowReference|null, str: string): void;
|
193
197
|
|
194
|
-
public setRowContent(rowRef: Grid.RowReference, str: string): void;
|
198
|
+
public setRowContent(rowRef: Grid.RowReference|null, str: string): void;
|
195
199
|
|
196
|
-
public toggleRowExpansion(rid: string|number, force?: boolean): void;
|
200
|
+
public toggleRowExpansion(rid: string|number|null, force?: boolean|null): void;
|
197
201
|
|
198
|
-
public setRics(ary: (string)[]): void;
|
202
|
+
public setRics(ary: (string)[]|null): void;
|
199
203
|
|
200
204
|
public getRowCount(): number;
|
201
205
|
|
@@ -209,11 +213,15 @@ declare class Grid extends EventDispatcher {
|
|
209
213
|
|
210
214
|
public getColumnDefinition(colIndex: number): ColumnDefinition|null;
|
211
215
|
|
212
|
-
public
|
216
|
+
public getColumnDefinitionById(colId: string): ColumnDefinition|null;
|
217
|
+
|
218
|
+
public getColumnDefinitionsById(colIds: (string)[]|null): ColumnDefinition|null;
|
219
|
+
|
220
|
+
public getRowDefinition(rowRef: number|string|null): RowDefinition|null;
|
213
221
|
|
214
222
|
public getRowDefinitions(): (RowDefinition)[];
|
215
223
|
|
216
|
-
public getAllRowDefinitions(inclAutoGenerate?: boolean): (RowDefinition)[];
|
224
|
+
public getAllRowDefinitions(inclAutoGenerate?: boolean|null): (RowDefinition)[];
|
217
225
|
|
218
226
|
public getRowData(rowIndex: number): any;
|
219
227
|
|
@@ -221,11 +229,11 @@ declare class Grid extends EventDispatcher {
|
|
221
229
|
|
222
230
|
public setRicData(ric: string, values: any): void;
|
223
231
|
|
224
|
-
public setRowData(rowRef: Grid.RowReference, values: any): void;
|
232
|
+
public setRowData(rowRef: Grid.RowReference|null, values: any): void;
|
225
233
|
|
226
|
-
public getColumnIndex(colRef: Grid.ColumnReference): number;
|
234
|
+
public getColumnIndex(colRef: Grid.ColumnReference|null): number;
|
227
235
|
|
228
|
-
public getColumnIndices(colRefs: (Grid.ColumnReference)[]): (number)[];
|
236
|
+
public getColumnIndices(colRefs: (Grid.ColumnReference)[]|null): (number)[];
|
229
237
|
|
230
238
|
public getColumnId(colIndex: number): string;
|
231
239
|
|
@@ -235,7 +243,7 @@ declare class Grid extends EventDispatcher {
|
|
235
243
|
|
236
244
|
public getAllFields(): (string)[];
|
237
245
|
|
238
|
-
public freezeColumn(colIndex?: number, pinnedRightColumns?: number): void;
|
246
|
+
public freezeColumn(colIndex?: number|null, pinnedRightColumns?: number|null): void;
|
239
247
|
|
240
248
|
public updateColumnTitle(): void;
|
241
249
|
|
@@ -259,7 +267,7 @@ declare class Grid extends EventDispatcher {
|
|
259
267
|
|
260
268
|
public getPageCount(): number;
|
261
269
|
|
262
|
-
public toggleChain(rowRef: Grid.RowReference): void;
|
270
|
+
public toggleChain(rowRef: Grid.RowReference|null): void;
|
263
271
|
|
264
272
|
public focus(): void;
|
265
273
|
|
@@ -269,7 +277,7 @@ declare class Grid extends EventDispatcher {
|
|
269
277
|
|
270
278
|
public getExtension(str: string): any;
|
271
279
|
|
272
|
-
public activateADCPolling(activated?: boolean): void;
|
280
|
+
public activateADCPolling(activated?: boolean|null): void;
|
273
281
|
|
274
282
|
public refreshADCData(): boolean;
|
275
283
|
|
@@ -16,19 +16,19 @@ declare class ReferenceCounter {
|
|
16
16
|
|
17
17
|
public getSession(): any;
|
18
18
|
|
19
|
-
public addReference(key: string, referer?: string): boolean;
|
19
|
+
public addReference(key: string, referer?: string|null): boolean;
|
20
20
|
|
21
21
|
public addRef(key: string): boolean;
|
22
22
|
|
23
|
-
public removeReference(key: string, referer?: string, count?: number): boolean;
|
23
|
+
public removeReference(key: string, referer?: string|null, count?: number|null): boolean;
|
24
24
|
|
25
25
|
public release(key: string): void;
|
26
26
|
|
27
|
-
public addReferences(keys: (string|(string)[]|any), referer?: string): number;
|
27
|
+
public addReferences(keys: (string|(string)[]|any)|null, referer?: string|null): number;
|
28
28
|
|
29
|
-
public removeReferer(referer?: string): number;
|
29
|
+
public removeReferer(referer?: string|null): number;
|
30
30
|
|
31
|
-
public removeReferrer(referer?: string): number;
|
31
|
+
public removeReferrer(referer?: string|null): number;
|
32
32
|
|
33
33
|
public log(): void;
|
34
34
|
|
@@ -6,9 +6,9 @@ declare class RowDefSorter {
|
|
6
6
|
|
7
7
|
public dispose(): void;
|
8
8
|
|
9
|
-
public getSorter(rowSorting?: boolean): ((...params: any[]) => any)|null;
|
9
|
+
public getSorter(rowSorting?: boolean|null): ((...params: any[]) => any)|null;
|
10
10
|
|
11
|
-
public setSortLogic(func?: ((...params: any[]) => any)): void;
|
11
|
+
public setSortLogic(func?: ((...params: any[]) => any)|null): void;
|
12
12
|
|
13
13
|
public setField(field: string): void;
|
14
14
|
|