@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.
- 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 +392 -230
- 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 +33 -10
- 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 +4 -4
- package/lib/core/es6/data/SegmentCollection.d.ts +7 -7
- package/lib/core/es6/data/WrappedView.d.ts +62 -62
- package/lib/core/es6/grid/Core.d.ts +97 -95
- package/lib/core/es6/grid/Core.js +180 -26
- 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/CellFloatingPanel.d.ts +2 -2
- 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 +11 -9
- package/lib/core/es6/grid/components/Scrollbar.js +13 -0
- package/lib/core/es6/grid/components/StretchedCells.js +12 -2
- 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/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/grid/index.js +1 -1
- package/lib/grid/lib/efx-grid.js +7 -44
- 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 +1354 -435
- 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 +106 -91
- package/lib/rt-grid/es6/Grid.js +151 -106
- 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 +5 -2
- package/lib/rt-grid/es6/SnapshotFiller.js +121 -15
- 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 +20 -35
- 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 +14 -4
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +314 -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 +16 -13
- 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/ElementObserver.js +6 -3
- 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 +13 -4
- package/lib/tr-grid-util/es6/ElfUtil.js +178 -26
- 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/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 +14 -4
- 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 +4 -4
- package/lib/types/es6/Core/data/SegmentCollection.d.ts +7 -7
- package/lib/types/es6/Core/data/WrappedView.d.ts +62 -62
- package/lib/types/es6/Core/grid/Core.d.ts +97 -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 +11 -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/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 +104 -89
- 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 +5 -2
- 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 +26 -26
- 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 };
|
@@ -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,65 +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
|
+
};
|
34
|
+
|
35
|
+
type ADCOptions = {
|
36
|
+
productId?: string|null
|
33
37
|
};
|
34
38
|
|
35
39
|
type GridOptions = ExtensionOptions & {
|
36
|
-
columns?: (ColumnDefinition.Options|string)[],
|
37
|
-
defaultColumnOptions?: ColumnDefinition.Options,
|
38
|
-
rows?: (RowDefinition.Options)[],
|
39
|
-
fields?: (string)[],
|
40
|
-
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,
|
41
45
|
plugins?: Extensions[],
|
42
46
|
extensions?: Extensions[],
|
43
|
-
scrollbar?: boolean,
|
44
|
-
linearWheelScrolling?: boolean,
|
45
|
-
stepScroll?: boolean,
|
46
|
-
autoHideScrollbar?: boolean,
|
47
|
-
pageSize?: string,
|
48
|
-
rowHeight?: number,
|
49
|
-
headerRowHeight?: number,
|
50
|
-
noColumnDragging?: boolean,
|
51
|
-
columnReorder?: boolean,
|
52
|
-
rowHighlighting?: boolean,
|
53
|
-
autoLayoutUpdate?: (boolean|number),
|
54
|
-
columnFreezing?: number,
|
55
|
-
freezeColumn?: number,
|
56
|
-
pinnedRightColumns?: number,
|
57
|
-
staticDataRows?: any[],
|
58
|
-
dataFields?: (string)[],
|
59
|
-
rowVirtualization?: boolean,
|
60
|
-
columnVirtualization?: boolean,
|
61
|
-
topFreezingCount?: (number|null|boolean),
|
62
|
-
bottomFreezingCount?: (number|null),
|
63
|
-
borders?: boolean,
|
64
|
-
gridlines?: boolean,
|
65
|
-
verticalLines?: boolean,
|
66
|
-
|
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,
|
67
72
|
RTK?: any,
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
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
|
79
86
|
};
|
80
87
|
|
81
|
-
type RowReference = number|string|RowDefinition;
|
88
|
+
type RowReference = number|string|RowDefinition|null;
|
82
89
|
|
83
|
-
type ColumnReference = number|string|ColumnDefinition;
|
90
|
+
type ColumnReference = number|string|ColumnDefinition|null;
|
84
91
|
|
85
92
|
}
|
86
93
|
|
87
94
|
declare class Grid extends EventDispatcher {
|
88
95
|
|
89
|
-
constructor(placeholder?: (Element|null), config?: Grid.GridOptions);
|
96
|
+
constructor(placeholder?: (Element|null)|null, config?: Grid.GridOptions|null);
|
90
97
|
|
91
98
|
public dispose(): void;
|
92
99
|
|
@@ -94,101 +101,105 @@ declare class Grid extends EventDispatcher {
|
|
94
101
|
|
95
102
|
public removeEventListeners(): void;
|
96
103
|
|
97
|
-
public listen(type: string, handler: ((...params: any[]) => any)): void;
|
104
|
+
public listen(type: string, handler: ((...params: any[]) => any)|null): void;
|
98
105
|
|
99
106
|
public initSubscription(): void;
|
100
107
|
|
101
108
|
public updateLayout(): void;
|
102
109
|
|
103
|
-
public updateRowData(opt_rowIndex?: number): void;
|
110
|
+
public updateRowData(opt_rowIndex?: number|null): void;
|
104
111
|
|
105
|
-
public addHeaderSection(sectionName?: string): any;
|
112
|
+
public addHeaderSection(sectionName?: string|null): any;
|
106
113
|
|
107
|
-
public addFooterSection(sectionName?: string): any;
|
114
|
+
public addFooterSection(sectionName?: string|null): any;
|
108
115
|
|
109
|
-
public setParent(elem: Element): void;
|
116
|
+
public setParent(elem: Element|null): void;
|
110
117
|
|
111
|
-
public insertBefore(elem: Element): void;
|
118
|
+
public insertBefore(elem: Element|null): void;
|
112
119
|
|
113
120
|
public getRelativePosition(obj: ElementWrapper|Element|Event|MouseEvent): any;
|
114
121
|
|
115
122
|
public getCoreGrid(): Core|null;
|
116
123
|
|
117
|
-
public initialize(gridOption?: Grid.GridOptions): void;
|
124
|
+
public initialize(gridOption?: Grid.GridOptions|null): void;
|
118
125
|
|
119
126
|
public getConfigObject(gridOptions?: any): any;
|
120
127
|
|
121
128
|
public setLocale(lang: string): void;
|
122
129
|
|
123
|
-
public insertColumn(columnOption: ColumnDefinition.Options|string, idx?: number): void;
|
130
|
+
public insertColumn(columnOption: ColumnDefinition.Options|string|null, idx?: number|null): void;
|
131
|
+
|
132
|
+
public replaceColumn(columnOption: ColumnDefinition.Options|string|null, colRef: Grid.ColumnReference|null): void;
|
124
133
|
|
125
|
-
public setColumns(columns: (any)[]): void;
|
134
|
+
public setColumns(columns: (any)[]|null): void;
|
126
135
|
|
127
|
-
public setFields(ary: (string)[]): void;
|
136
|
+
public setFields(ary: (string)[]|null): void;
|
128
137
|
|
129
|
-
public removeColumn(colRef: Grid.ColumnReference): void;
|
138
|
+
public removeColumn(colRef: Grid.ColumnReference|null): void;
|
130
139
|
|
131
|
-
public removeColumns(colRefs: (Grid.ColumnReference)[]): void;
|
140
|
+
public removeColumns(colRefs: (Grid.ColumnReference)[]|null): void;
|
132
141
|
|
133
142
|
public removeAllColumns(): void;
|
134
143
|
|
135
|
-
public moveColumn(fromColIndex: number|(number)[], toColIndex: number): boolean;
|
144
|
+
public moveColumn(fromColIndex: number|(number)[]|null, toColIndex: number): boolean;
|
136
145
|
|
137
|
-
public hideColumn(colRef: Grid.ColumnReference, hidden?: boolean): void;
|
146
|
+
public hideColumn(colRef: Grid.ColumnReference|null, hidden?: boolean|null): void;
|
138
147
|
|
139
|
-
public hideColumns(colRefs: (Grid.ColumnReference)[], hidden?: boolean): void;
|
148
|
+
public hideColumns(colRefs: (Grid.ColumnReference)[]|null, hidden?: boolean|null): void;
|
140
149
|
|
141
150
|
public showAllColumns(): void;
|
142
151
|
|
143
|
-
public addDataFields(fieldRef: string|(string)[], referrer?: string): boolean;
|
152
|
+
public addDataFields(fieldRef: string|(string)[]|null, referrer?: string|null): boolean;
|
144
153
|
|
145
|
-
public removeDataFields(fieldRef: string|(string)[], referrer?: string): boolean;
|
154
|
+
public removeDataFields(fieldRef: string|(string)[]|null, referrer?: string|null): boolean;
|
146
155
|
|
147
|
-
public
|
156
|
+
public removeFieldReferrer(referrer: string): void;
|
157
|
+
|
158
|
+
public sortColumn(colRef: Grid.ColumnReference|null, opt_order?: string|null): void;
|
148
159
|
|
149
160
|
public setColumnName(colIndex: number, str: string): void;
|
150
161
|
|
151
|
-
public setColumnRenderer(colRef: Grid.ColumnReference, func?: ((...params: any[]) => any)): void;
|
162
|
+
public setColumnRenderer(colRef: Grid.ColumnReference|null, func?: ((...params: any[]) => any)|null): void;
|
152
163
|
|
153
|
-
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;
|
154
165
|
|
155
|
-
public setColumnFormatter(colIndex: number, formatter?: any|((...params: any[]) => any)): void;
|
166
|
+
public setColumnFormatter(colIndex: number, formatter?: any|((...params: any[]) => any)|null): void;
|
156
167
|
|
157
|
-
public setColumnSorter(colRef: Grid.ColumnReference, func?: ColumnDefinition.SortLogic): void;
|
168
|
+
public setColumnSorter(colRef: Grid.ColumnReference|null, func?: ColumnDefinition.SortLogic|null): void;
|
158
169
|
|
159
|
-
public _initDuplicateRicData(rowDef: RowDefinition): void;
|
170
|
+
public _initDuplicateRicData(rowDef: RowDefinition|null): void;
|
160
171
|
|
161
|
-
public insertRow(rowOption?: any, rowRef?: Grid.RowReference): any;
|
172
|
+
public insertRow(rowOption?: any, rowRef?: Grid.RowReference|null): any;
|
162
173
|
|
163
|
-
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;
|
164
175
|
|
165
|
-
public addStaticDataRows(dataRows: any[], fields?: (string)[]): void;
|
176
|
+
public addStaticDataRows(dataRows: any[]|null, fields?: (string)[]|null): void;
|
166
177
|
|
167
|
-
public updateDataSet(records: (any)[], rowIdentifier: string): void;
|
178
|
+
public updateDataSet(records: (any)[]|null, rowIdentifier: string): void;
|
168
179
|
|
169
|
-
public removeRow(rowRef: Grid.RowReference): RowDefinition|null;
|
180
|
+
public removeRow(rowRef: Grid.RowReference|null): RowDefinition|null;
|
170
181
|
|
171
|
-
public removeRows(rowRefs: (Grid.RowReference)[]): (RowDefinition)[]|null;
|
182
|
+
public removeRows(rowRefs: (Grid.RowReference)[]|null): (RowDefinition)[]|null;
|
172
183
|
|
173
184
|
public removeAllRows(): void;
|
174
185
|
|
175
|
-
public hideRow(rowRef: Grid.RowReference, hidden?: boolean): void;
|
186
|
+
public hideRow(rowRef: Grid.RowReference|null, hidden?: boolean|null): void;
|
176
187
|
|
177
|
-
public hideRows(rowRefs: Grid.RowReference | (Grid.RowReference)[], hidden?: boolean): void;
|
188
|
+
public hideRows(rowRefs: Grid.RowReference | (Grid.RowReference)[]|null, hidden?: boolean|null): void;
|
178
189
|
|
179
|
-
public showRows(rowRefs: Grid.RowReference | (Grid.RowReference)[], shown?: boolean): void;
|
190
|
+
public showRows(rowRefs: Grid.RowReference | (Grid.RowReference)[]|null, shown?: boolean|null): void;
|
180
191
|
|
181
192
|
public unhideAllRows(): void;
|
182
193
|
|
183
194
|
public hasHiddenRow(): boolean;
|
184
195
|
|
185
|
-
public setRic(rowRef: Grid.RowReference, str: string): void;
|
196
|
+
public setRic(rowRef: Grid.RowReference|null, str: string): void;
|
186
197
|
|
187
|
-
public setRowContent(rowRef: Grid.RowReference, str: string): void;
|
198
|
+
public setRowContent(rowRef: Grid.RowReference|null, str: string): void;
|
188
199
|
|
189
|
-
public toggleRowExpansion(rid: string|number, force?: boolean): void;
|
200
|
+
public toggleRowExpansion(rid: string|number|null, force?: boolean|null): void;
|
190
201
|
|
191
|
-
public setRics(ary: (string)[]): void;
|
202
|
+
public setRics(ary: (string)[]|null): void;
|
192
203
|
|
193
204
|
public getRowCount(): number;
|
194
205
|
|
@@ -202,11 +213,15 @@ declare class Grid extends EventDispatcher {
|
|
202
213
|
|
203
214
|
public getColumnDefinition(colIndex: number): ColumnDefinition|null;
|
204
215
|
|
205
|
-
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;
|
206
221
|
|
207
222
|
public getRowDefinitions(): (RowDefinition)[];
|
208
223
|
|
209
|
-
public getAllRowDefinitions(inclAutoGenerate?: boolean): (RowDefinition)[];
|
224
|
+
public getAllRowDefinitions(inclAutoGenerate?: boolean|null): (RowDefinition)[];
|
210
225
|
|
211
226
|
public getRowData(rowIndex: number): any;
|
212
227
|
|
@@ -214,11 +229,11 @@ declare class Grid extends EventDispatcher {
|
|
214
229
|
|
215
230
|
public setRicData(ric: string, values: any): void;
|
216
231
|
|
217
|
-
public setRowData(rowRef: Grid.RowReference, values: any): void;
|
232
|
+
public setRowData(rowRef: Grid.RowReference|null, values: any): void;
|
218
233
|
|
219
|
-
public getColumnIndex(colRef: Grid.ColumnReference): number;
|
234
|
+
public getColumnIndex(colRef: Grid.ColumnReference|null): number;
|
220
235
|
|
221
|
-
public getColumnIndices(colRefs: (Grid.ColumnReference)[]): (number)[];
|
236
|
+
public getColumnIndices(colRefs: (Grid.ColumnReference)[]|null): (number)[];
|
222
237
|
|
223
238
|
public getColumnId(colIndex: number): string;
|
224
239
|
|
@@ -228,7 +243,7 @@ declare class Grid extends EventDispatcher {
|
|
228
243
|
|
229
244
|
public getAllFields(): (string)[];
|
230
245
|
|
231
|
-
public freezeColumn(colIndex?: number, pinnedRightColumns?: number): void;
|
246
|
+
public freezeColumn(colIndex?: number|null, pinnedRightColumns?: number|null): void;
|
232
247
|
|
233
248
|
public updateColumnTitle(): void;
|
234
249
|
|
@@ -252,7 +267,7 @@ declare class Grid extends EventDispatcher {
|
|
252
267
|
|
253
268
|
public getPageCount(): number;
|
254
269
|
|
255
|
-
public toggleChain(rowRef: Grid.RowReference): void;
|
270
|
+
public toggleChain(rowRef: Grid.RowReference|null): void;
|
256
271
|
|
257
272
|
public focus(): void;
|
258
273
|
|
@@ -262,7 +277,7 @@ declare class Grid extends EventDispatcher {
|
|
262
277
|
|
263
278
|
public getExtension(str: string): any;
|
264
279
|
|
265
|
-
public activateADCPolling(activated?: boolean): void;
|
280
|
+
public activateADCPolling(activated?: boolean|null): void;
|
266
281
|
|
267
282
|
public refreshADCData(): boolean;
|
268
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
|
|