@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
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
declare class ColumnStats {
|
4
4
|
|
5
|
-
constructor(source?: any, field?: string);
|
5
|
+
constructor(source?: any, field?: string|null);
|
6
6
|
|
7
7
|
public dispose(): void;
|
8
8
|
|
@@ -10,9 +10,9 @@ declare class ColumnStats {
|
|
10
10
|
|
11
11
|
public setField(field: string): void;
|
12
12
|
|
13
|
-
public disableOnDemandMode(opt_disabled?: boolean): void;
|
13
|
+
public disableOnDemandMode(opt_disabled?: boolean|null): void;
|
14
14
|
|
15
|
-
public setColumnDataGetter(func: ((...params: any[]) => any)): void;
|
15
|
+
public setColumnDataGetter(func: ((...params: any[]) => any)|null): void;
|
16
16
|
|
17
17
|
public getColumnDataGetter(): ((...params: any[]) => any)|null;
|
18
18
|
|
@@ -11,7 +11,7 @@ declare class DataCache extends EventDispatcher {
|
|
11
11
|
|
12
12
|
public getSubscriptions(): any;
|
13
13
|
|
14
|
-
public addSubscription(sub: any, opt_primaryRic?: string, opt_values?: any): void;
|
14
|
+
public addSubscription(sub: any, opt_primaryRic?: string|null, opt_values?: any): void;
|
15
15
|
|
16
16
|
public removeSubscription(sub: any): void;
|
17
17
|
|
@@ -23,9 +23,9 @@ declare class DataCache extends EventDispatcher {
|
|
23
23
|
|
24
24
|
public getPrimaryRic(sub_id: string): string;
|
25
25
|
|
26
|
-
public clearAllData(opt_suppressEvent?: boolean): void;
|
26
|
+
public clearAllData(opt_suppressEvent?: boolean|null): void;
|
27
27
|
|
28
|
-
public clearColumnData(colId: (string)[]|string, opt_suppressEvent?: boolean): void;
|
28
|
+
public clearColumnData(colId: (string)[]|string|null, opt_suppressEvent?: boolean|null): void;
|
29
29
|
|
30
30
|
public getData(rid: string, cid: string): any;
|
31
31
|
|
@@ -39,7 +39,7 @@ declare class DataCache extends EventDispatcher {
|
|
39
39
|
|
40
40
|
public getRowData(rid: string): { [key: string]: any };
|
41
41
|
|
42
|
-
public getMultipleRowData(rids: (string)[], opt_from?: number, opt_to?: number): (any)[];
|
42
|
+
public getMultipleRowData(rids: (string)[]|null, opt_from?: number|null, opt_to?: number|null): (any)[];
|
43
43
|
|
44
44
|
public getAllRowData(): ({ [key: string]: any })[];
|
45
45
|
|
@@ -47,13 +47,13 @@ declare class DataCache extends EventDispatcher {
|
|
47
47
|
|
48
48
|
public hasDataCloudData(rid: string): boolean;
|
49
49
|
|
50
|
-
public setRowData(rid: string, values?: { [key: string]: any }, opt_eventArg?: any): boolean;
|
50
|
+
public setRowData(rid: string, values?: { [key: string]: any }|null, opt_eventArg?: any): boolean;
|
51
51
|
|
52
52
|
public cloneRowData(rid: string): any;
|
53
53
|
|
54
|
-
public addStaticFields(fields: (string)[]): void;
|
54
|
+
public addStaticFields(fields: (string)[]|null): void;
|
55
55
|
|
56
|
-
public removeStaticFields(fields: (string)[]): void;
|
56
|
+
public removeStaticFields(fields: (string)[]|null): void;
|
57
57
|
|
58
58
|
public resetStaticFields(): void;
|
59
59
|
|
@@ -63,11 +63,11 @@ declare class DataCache extends EventDispatcher {
|
|
63
63
|
|
64
64
|
public log(opt_options?: any): void;
|
65
65
|
|
66
|
-
public setDataCloudSettings(userId: string, productId: string, url: string, opt_lang?: string): void;
|
66
|
+
public setDataCloudSettings(userId: string, productId: string, url: string, opt_lang?: string|null): void;
|
67
67
|
|
68
68
|
public getDataCloudFields(): (string)[]|null;
|
69
69
|
|
70
|
-
public addDataCloudFields(fields: (string)[]|string): boolean;
|
70
|
+
public addDataCloudFields(fields: (string)[]|string|null): boolean;
|
71
71
|
|
72
72
|
public removeDataCloudField(field: string): boolean;
|
73
73
|
|
@@ -5,7 +5,7 @@ import SegmentCollection from "./SegmentCollection.js";
|
|
5
5
|
|
6
6
|
declare namespace DataTable {
|
7
7
|
|
8
|
-
type SortLogic = ((...params: any[]) => any);
|
8
|
+
type SortLogic = ((...params: any[]) => any)|null;
|
9
9
|
|
10
10
|
}
|
11
11
|
|
@@ -25,35 +25,35 @@ declare class DataTable extends DataCache {
|
|
25
25
|
|
26
26
|
public getPreviousData(rid: string, cid: string): { [key: string]: any };
|
27
27
|
|
28
|
-
public setColumnData(cid: string, valueList: (any)[], opt_ridList?: (string)[]): void;
|
28
|
+
public setColumnData(cid: string, valueList: (any)[], opt_ridList?: (string)[]|null): void;
|
29
29
|
|
30
30
|
public setDataFromObjectMap(obj: { [key: string]: any }): void;
|
31
31
|
|
32
|
-
public setDataFrom2DArray(ary: (any)[][], opt_cidList?: (string)[], opt_ridList?: (string)[]): void;
|
32
|
+
public setDataFrom2DArray(ary: (any)[][], opt_cidList?: (string)[]|null, opt_ridList?: (string)[]|null): void;
|
33
33
|
|
34
34
|
public setDataAt(rowIndex: number, cid: string, value: any): boolean;
|
35
35
|
|
36
|
-
public setRowDataAt(rowIndex: number, values?: { [key: string]: any }, opt_eventArg?: any): boolean;
|
36
|
+
public setRowDataAt(rowIndex: number, values?: { [key: string]: any }|null, opt_eventArg?: any): boolean;
|
37
37
|
|
38
|
-
public addRow(values?: { [key: string]: any }, rid?: string|null): string;
|
38
|
+
public addRow(values?: { [key: string]: any }|null, rid?: string|null|null): string;
|
39
39
|
|
40
|
-
public addRows(rows: (any)[], rids?: (string)[]): void;
|
40
|
+
public addRows(rows: (any)[]|null, rids?: (string)[]|null): void;
|
41
41
|
|
42
|
-
public unshiftRow(opt_values?: { [key: string]: any }, opt_rid?: string|null): string;
|
42
|
+
public unshiftRow(opt_values?: { [key: string]: any }|null, opt_rid?: string|null|null): string;
|
43
43
|
|
44
|
-
public insertRow(rowRef?: string|number|null, values?: { [key: string]: any }, rid?: string|null): string;
|
44
|
+
public insertRow(rowRef?: string|number|null|null, values?: { [key: string]: any }|null, rid?: string|null|null): string;
|
45
45
|
|
46
|
-
public insertAfter(rowRef: string|number, opt_values?: any, opt_rid?: string): string;
|
46
|
+
public insertAfter(rowRef: string|number|null, opt_values?: any, opt_rid?: string|null): string;
|
47
47
|
|
48
|
-
public removeRow(rowRef: number|string): void;
|
48
|
+
public removeRow(rowRef: number|string|null): void;
|
49
49
|
|
50
|
-
public removeRows(refs: (number|string)[]): void;
|
50
|
+
public removeRows(refs: (number|string)[]|null): void;
|
51
51
|
|
52
|
-
public removeAllRows(suppressEvent?: boolean): void;
|
52
|
+
public removeAllRows(suppressEvent?: boolean|null): void;
|
53
53
|
|
54
|
-
public moveRow(fromIndex: (number)[]|number, toIndex: number, suppressEvent?: boolean): (string)[]|string|null;
|
54
|
+
public moveRow(fromIndex: (number)[]|number|null, toIndex: number, suppressEvent?: boolean|null): (string)[]|string|null;
|
55
55
|
|
56
|
-
public moveRows(startIndex: number|string, toIndex: number|string, opt_count?: number, suppressEvent?: boolean): (string)[]|null;
|
56
|
+
public moveRows(startIndex: number|string|null, toIndex: number|string|null, opt_count?: number|null, suppressEvent?: boolean|null): (string)[]|null;
|
57
57
|
|
58
58
|
public swapRow(fromIndex: number, toIndex: number): void;
|
59
59
|
|
@@ -63,19 +63,19 @@ declare class DataTable extends DataCache {
|
|
63
63
|
|
64
64
|
public setDataSource(source: any): void;
|
65
65
|
|
66
|
-
public sortOnce(cid: string|(string)[], sortOrders?: string|number|(string|number)[], customComparer?: DataTable.SortLogic, contextObj?: any): boolean;
|
66
|
+
public sortOnce(cid: string|(string)[]|null, sortOrders?: string|number|(string|number)[]|null, customComparer?: DataTable.SortLogic|null, contextObj?: any): boolean;
|
67
67
|
|
68
|
-
public setSortingLogic(func: DataTable.SortLogic): void;
|
68
|
+
public setSortingLogic(func: DataTable.SortLogic|null): void;
|
69
69
|
|
70
|
-
public setColumnSortingLogic(cid: string, func: DataTable.SortLogic): void;
|
70
|
+
public setColumnSortingLogic(cid: string, func: DataTable.SortLogic|null): void;
|
71
71
|
|
72
|
-
public freeze(bool?: boolean): boolean;
|
72
|
+
public freeze(bool?: boolean|null): boolean;
|
73
73
|
|
74
|
-
public unfreeze(bool?: boolean): boolean;
|
74
|
+
public unfreeze(bool?: boolean|null): boolean;
|
75
75
|
|
76
76
|
public isFrozen(): boolean;
|
77
77
|
|
78
|
-
public setSegmentSeparator(rid: string, enabled?: boolean): boolean;
|
78
|
+
public setSegmentSeparator(rid: string, enabled?: boolean|null): boolean;
|
79
79
|
|
80
80
|
public unsetAllSegmentSeparators(): boolean;
|
81
81
|
|
@@ -85,7 +85,7 @@ declare class DataTable extends DataCache {
|
|
85
85
|
|
86
86
|
public getSegmentParentRowId(rid: string): string;
|
87
87
|
|
88
|
-
public getSegmentValues(rids?: (string)[]): (number)[]|null;
|
88
|
+
public getSegmentValues(rids?: (string)[]|null): (number)[]|null;
|
89
89
|
|
90
90
|
public fillSegment(segmentId: string): void;
|
91
91
|
|
@@ -93,11 +93,11 @@ declare class DataTable extends DataCache {
|
|
93
93
|
|
94
94
|
public addSegmentChild(segmentId: string, rid: string): boolean;
|
95
95
|
|
96
|
-
public addSegmentChildren(segmentId: string, rids: (string)[]): boolean;
|
96
|
+
public addSegmentChildren(segmentId: string, rids: (string)[]|null): boolean;
|
97
97
|
|
98
98
|
public removeSegmentChild(segmentId: string, rid: string): boolean;
|
99
99
|
|
100
|
-
public removeSegmentChildren(segmentId: string, rids: (string)[]): boolean;
|
100
|
+
public removeSegmentChildren(segmentId: string, rids: (string)[]|null): boolean;
|
101
101
|
|
102
102
|
public removeAllSegmentChildren(): boolean;
|
103
103
|
|
@@ -105,21 +105,21 @@ declare class DataTable extends DataCache {
|
|
105
105
|
|
106
106
|
public getSegmentChildIds(segmentId: string): (string)[]|null;
|
107
107
|
|
108
|
-
public sortSegments(compare: ((...params: any[]) => any)): void;
|
108
|
+
public sortSegments(compare: ((...params: any[]) => any)|null): void;
|
109
109
|
|
110
|
-
public dispatchGlobalChange(suppressEvent?: boolean): void;
|
110
|
+
public dispatchGlobalChange(suppressEvent?: boolean|null): void;
|
111
111
|
|
112
112
|
public static getSortingDefinitions(): void;
|
113
113
|
|
114
114
|
}
|
115
115
|
|
116
|
-
declare function rowIndex(cid: string, valueList: (any)[], opt_ridList?: (string)[]): void;
|
116
|
+
declare function rowIndex(cid: string, valueList: (any)[], opt_ridList?: (string)[]|null): void;
|
117
117
|
|
118
|
-
declare function prevFrozen(ary: (any)[][], opt_cidList?: (string)[], opt_ridList?: (string)[]): void;
|
118
|
+
declare function prevFrozen(ary: (any)[][], opt_cidList?: (string)[]|null, opt_ridList?: (string)[]|null): void;
|
119
119
|
|
120
120
|
declare function cid(): null;
|
121
121
|
|
122
|
-
declare function logic(a: number, b: number, order: number, sortingDefs: (any[])[]): number;
|
122
|
+
declare function logic(a: number, b: number, order: number, sortingDefs: (any[])[]|null): number;
|
123
123
|
|
124
124
|
export default DataTable;
|
125
125
|
export { DataTable };
|
@@ -246,7 +246,15 @@ DataTable.prototype.setRowData = function(rid, values, eventArg) { // Data chang
|
|
246
246
|
this._prevData[rid] = this._rows[rid]; // Move reference from the removed row to history
|
247
247
|
delete this._rows[rid];
|
248
248
|
if(this._segments) {
|
249
|
-
|
249
|
+
var segment = this._segments.getSegment(rid);
|
250
|
+
if(segment) {
|
251
|
+
if(this._segments.removeSegment(rid)) {
|
252
|
+
segmentChanged = true;
|
253
|
+
if(!this._segments.getSegmentCount()) {
|
254
|
+
this._segments = null;
|
255
|
+
}
|
256
|
+
}
|
257
|
+
}
|
250
258
|
}
|
251
259
|
for(var i = this._rids.length; --i >= 0;) {
|
252
260
|
if(this._rids[i] === rid) {
|
@@ -1449,18 +1457,33 @@ DataTable._performMultiLevelSorting = function(dataRows, sortingDefs, segmentVal
|
|
1449
1457
|
return null;
|
1450
1458
|
}
|
1451
1459
|
|
1460
|
+
var sortLogic;
|
1452
1461
|
// Populate data for each definition
|
1453
1462
|
for(var c = 0; c < defCount; ++c) {
|
1454
1463
|
var sortingDef = sortingDefs[c];
|
1455
|
-
var columnId = sortingDef[0];
|
1456
1464
|
var rows = sortingDef[1];
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1465
|
+
sortLogic = sortingDef[2];
|
1466
|
+
var rowSorting = sortLogic["rowSorting"];
|
1467
|
+
var r;
|
1468
|
+
if(rowSorting) {
|
1469
|
+
if(rows) {
|
1470
|
+
rows.length = rowCount;
|
1471
|
+
for(r = 0; r < rowCount; ++r) {
|
1472
|
+
rows[r] = dataRows[r];
|
1473
|
+
}
|
1474
|
+
} else {
|
1475
|
+
rows = sortingDef[1] = dataRows;
|
1476
|
+
}
|
1477
|
+
} else {
|
1478
|
+
if(rows) {
|
1479
|
+
rows.length = rowCount;
|
1480
|
+
} else {
|
1481
|
+
rows = sortingDef[1] = new Array(rowCount);
|
1482
|
+
}
|
1483
|
+
var columnId = sortingDef[0];
|
1484
|
+
for(r = 0; r < rowCount; ++r) {
|
1485
|
+
rows[r] = dataRows[r][columnId];
|
1486
|
+
}
|
1464
1487
|
}
|
1465
1488
|
}
|
1466
1489
|
|
@@ -1486,7 +1509,7 @@ DataTable._performMultiLevelSorting = function(dataRows, sortingDefs, segmentVal
|
|
1486
1509
|
}
|
1487
1510
|
|
1488
1511
|
var sortOrder = 0;
|
1489
|
-
var
|
1512
|
+
var sortContext;
|
1490
1513
|
if(defCount > 1) {
|
1491
1514
|
sortLogic = DataTable._multiColumnCompareLogic;
|
1492
1515
|
sortContext = sortingDefs;
|
@@ -9,7 +9,7 @@ import { Conflator } from "../../../tr-grid-util/es6/Conflator.js";
|
|
9
9
|
|
10
10
|
declare class DataView extends EventDispatcher {
|
11
11
|
|
12
|
-
constructor(source?: DataTable|DataView);
|
12
|
+
constructor(source?: DataTable|DataView|null);
|
13
13
|
|
14
14
|
public dispose(): void;
|
15
15
|
|
@@ -17,15 +17,15 @@ declare class DataView extends EventDispatcher {
|
|
17
17
|
|
18
18
|
public getRowData(rid: string): { [key: string]: any };
|
19
19
|
|
20
|
-
public getColumnData(cid: string, inclNonDataRow?: boolean): any[];
|
20
|
+
public getColumnData(cid: string, inclNonDataRow?: boolean|null): any[];
|
21
21
|
|
22
22
|
public getRowId(rowIndex: number): string;
|
23
23
|
|
24
|
-
public getAllRowIds(shallowCopy?: boolean, inclNonDataRow?: boolean): (string)[];
|
24
|
+
public getAllRowIds(shallowCopy?: boolean|null, inclNonDataRow?: boolean|null): (string)[];
|
25
25
|
|
26
|
-
public getVisibleRowIds(shallowCopy?: boolean): (string)[];
|
26
|
+
public getVisibleRowIds(shallowCopy?: boolean|null): (string)[];
|
27
27
|
|
28
|
-
public getSortedRowIds(shallowCopy?: boolean): (string)[];
|
28
|
+
public getSortedRowIds(shallowCopy?: boolean|null): (string)[];
|
29
29
|
|
30
30
|
public getRowIndex(rid: string): number;
|
31
31
|
|
@@ -37,27 +37,27 @@ declare class DataView extends EventDispatcher {
|
|
37
37
|
|
38
38
|
public getPreviousData(rid: string, cid: string): { [key: string]: any };
|
39
39
|
|
40
|
-
public getMultipleRowData(rids: (string)[], opt_from?: number, opt_to?: number): (any)[];
|
40
|
+
public getMultipleRowData(rids: (string)[]|null, opt_from?: number|null, opt_to?: number|null): (any)[];
|
41
41
|
|
42
42
|
public getAllRowData(): (any)[];
|
43
43
|
|
44
44
|
public setData(rid: string, cid: string, value: any): boolean;
|
45
45
|
|
46
|
-
public setRowData(rid: string, values?: { [key: string]: any }, opt_eventArg?: any): boolean;
|
46
|
+
public setRowData(rid: string, values?: { [key: string]: any }|null, opt_eventArg?: any): boolean;
|
47
47
|
|
48
|
-
public setColumnData(cid: string, valueList: any[], opt_ridList?: (string)[]): void;
|
48
|
+
public setColumnData(cid: string, valueList: any[]|null, opt_ridList?: (string)[]|null): void;
|
49
49
|
|
50
50
|
public setDataAt(rowIndex: number, cid: string, value: any): boolean;
|
51
51
|
|
52
|
-
public setRowDataAt(rowIndex: number, values?: { [key: string]: any }, opt_eventArg?: any): boolean;
|
52
|
+
public setRowDataAt(rowIndex: number, values?: { [key: string]: any }|null, opt_eventArg?: any): boolean;
|
53
53
|
|
54
|
-
public insertRow(rowRef: string|number, opt_values?: { [key: string]: any }, opt_rid?: string|null): string;
|
54
|
+
public insertRow(rowRef: string|number|null, opt_values?: { [key: string]: any }|null, opt_rid?: string|null|null): string;
|
55
55
|
|
56
|
-
public removeRow(rowRef: number|string): void;
|
56
|
+
public removeRow(rowRef: number|string|null): void;
|
57
57
|
|
58
|
-
public removeRows(rowRefs: (number|string)[]): void;
|
58
|
+
public removeRows(rowRefs: (number|string)[]|null): void;
|
59
59
|
|
60
|
-
public moveRow(fromRef: (number|string)[]|number|string, toRef: number|string): (string)[]|string|null;
|
60
|
+
public moveRow(fromRef: (number|string)[]|number|string|null, toRef: number|string|null): (string)[]|string|null;
|
61
61
|
|
62
62
|
public swapRow(fromIndex: number, toIndex: number): void;
|
63
63
|
|
@@ -65,43 +65,43 @@ declare class DataView extends EventDispatcher {
|
|
65
65
|
|
66
66
|
public getDataSource(): DataTable|DataView|null;
|
67
67
|
|
68
|
-
public setDataSource(source?: (DataTable|DataView)): void;
|
68
|
+
public setDataSource(source?: (DataTable|DataView)|null): void;
|
69
69
|
|
70
70
|
public setConflationRate(milliSecond: number): void;
|
71
71
|
|
72
72
|
public getConflationRate(): number;
|
73
73
|
|
74
|
-
public sort(cid: string|(string)[], opt_sortOrder?: string|number|(string|number)[], sortLogics?: ((...params: any[]) => any)|(((...params: any[]) => any))[], noOptimization?: boolean): void;
|
74
|
+
public sort(cid: string|(string)[]|null, opt_sortOrder?: string|number|(string|number)[]|null, sortLogics?: ((...params: any[]) => any)|(((...params: any[]) => any))[]|null, noOptimization?: boolean|null): void;
|
75
75
|
|
76
|
-
public sortOnce(cid: string|(string)[], opt_sortOrder?: string|number|(string|number)[]): void;
|
76
|
+
public sortOnce(cid: string|(string)[]|null, opt_sortOrder?: string|number|(string|number)[]|null): void;
|
77
77
|
|
78
|
-
public setSortingLogic(func: DataTable.SortLogic): void;
|
78
|
+
public setSortingLogic(func: DataTable.SortLogic|null): void;
|
79
79
|
|
80
|
-
public setColumnSortingLogic(cid: string, func: DataTable.SortLogic): void;
|
80
|
+
public setColumnSortingLogic(cid: string, func: DataTable.SortLogic|null): void;
|
81
81
|
|
82
82
|
public isSorting(): boolean;
|
83
83
|
|
84
|
-
public hideRow(rId: string|number,
|
84
|
+
public hideRow(rId: string|number|null, hidden?: boolean|null): void;
|
85
85
|
|
86
|
-
public hideRows(rowRefs: (string|number)[],
|
86
|
+
public hideRows(rowRefs: (string|number)[]|null, hidden?: boolean|null): void;
|
87
87
|
|
88
|
-
public showRows(rowRefs: (string|number)[],
|
88
|
+
public showRows(rowRefs: (string|number)[]|null, shown?: boolean|null): void;
|
89
89
|
|
90
90
|
public unhideAllRows(): void;
|
91
91
|
|
92
92
|
public hasHiddenRow(): boolean;
|
93
93
|
|
94
|
-
public filterIn(cid: string|((...params: any[]) => any), value?: any, opt_filteringOut?: boolean): boolean;
|
94
|
+
public filterIn(cid: string|((...params: any[]) => any), value?: any, opt_filteringOut?: boolean|null): boolean;
|
95
95
|
|
96
96
|
public filterOut(cid: string|((...params: any[]) => any), value?: any): boolean;
|
97
97
|
|
98
|
-
public filterInOnce(cid: string|((...params: any[]) => any), value?: any, opt_filteringOut?: boolean): void;
|
98
|
+
public filterInOnce(cid: string|((...params: any[]) => any)|null, value?: any, opt_filteringOut?: boolean|null): void;
|
99
99
|
|
100
100
|
public filterOutOnce(cid: string|((...params: any[]) => any), value?: any): void;
|
101
101
|
|
102
102
|
public clearFilter(): void;
|
103
103
|
|
104
|
-
public disablePageCorrection(opt_disable?: boolean): void;
|
104
|
+
public disablePageCorrection(opt_disable?: boolean|null): void;
|
105
105
|
|
106
106
|
public setPage(pageIndex: number): boolean;
|
107
107
|
|
@@ -133,25 +133,25 @@ declare class DataView extends EventDispatcher {
|
|
133
133
|
|
134
134
|
public setPageSize(pageSize: number): void;
|
135
135
|
|
136
|
-
public groupBy(cid: string|((...params: any[]) => any)|(string|((...params: any[]) => any))[], opt_predefinedGroups?: any[]): void;
|
136
|
+
public groupBy(cid: string|((...params: any[]) => any)|(string|((...params: any[]) => any))[]|null, opt_predefinedGroups?: any[]|null): void;
|
137
137
|
|
138
138
|
public addGroup(value: any|any[]): void;
|
139
139
|
|
140
|
-
public sortGroups(compare?: ((...params: any[]) => any)): void;
|
140
|
+
public sortGroups(compare?: ((...params: any[]) => any)|null): void;
|
141
141
|
|
142
|
-
public moveGroup(groupRef: number|string, destIndex: number): void;
|
142
|
+
public moveGroup(groupRef: number|string|null, destIndex: number): void;
|
143
143
|
|
144
|
-
public setPredefinedGroups(predefinedGroups: any[]): void;
|
144
|
+
public setPredefinedGroups(predefinedGroups: any[]|null): void;
|
145
145
|
|
146
|
-
public addFooter(opt_num?: number): void;
|
146
|
+
public addFooter(opt_num?: number|null): void;
|
147
147
|
|
148
148
|
public removeFooter(): void;
|
149
149
|
|
150
150
|
public getGroupByRowId(rowId: string): DataView|null;
|
151
151
|
|
152
|
-
public getGroup(groupRef: number|string): DataView|null;
|
152
|
+
public getGroup(groupRef: number|string|null): DataView|null;
|
153
153
|
|
154
|
-
public getAllGroups(out_ary?: any[]): (DataView)[];
|
154
|
+
public getAllGroups(out_ary?: any[]|null): (DataView)[];
|
155
155
|
|
156
156
|
public getGroupList(): (string)[]|null;
|
157
157
|
|
@@ -165,67 +165,67 @@ declare class DataView extends EventDispatcher {
|
|
165
165
|
|
166
166
|
public getGroupRows(): null;
|
167
167
|
|
168
|
-
public getGroupLevel(rowRef?: (number|string)): number;
|
168
|
+
public getGroupLevel(rowRef?: (number|string)|null): number;
|
169
169
|
|
170
|
-
public enableColumnStats(cid: string, opt_enabled?: boolean, opt_refId?: string): ColumnStats|null;
|
170
|
+
public enableColumnStats(cid: string, opt_enabled?: boolean|null, opt_refId?: string|null): ColumnStats|null;
|
171
171
|
|
172
172
|
public getColumnStats(cid: string): ColumnStats|null;
|
173
173
|
|
174
|
-
public hide(opt_hidden?: boolean): boolean;
|
174
|
+
public hide(opt_hidden?: boolean|null): boolean;
|
175
175
|
|
176
176
|
public isHidden(): boolean;
|
177
177
|
|
178
178
|
public isHiddenRow(rowId: string): boolean;
|
179
179
|
|
180
|
-
public collapse(opt_collapsed?: boolean): void;
|
180
|
+
public collapse(opt_collapsed?: boolean|null): void;
|
181
181
|
|
182
|
-
public collapseAllGroups(opt_collapsed?: boolean): void;
|
182
|
+
public collapseAllGroups(opt_collapsed?: boolean|null): void;
|
183
183
|
|
184
184
|
public toggleCollapsedState(): void;
|
185
185
|
|
186
186
|
public isCollapsed(): boolean;
|
187
187
|
|
188
|
-
public enableContentAsHeader(bool?: boolean): void;
|
188
|
+
public enableContentAsHeader(bool?: boolean|null): void;
|
189
189
|
|
190
190
|
public getVisibleRowCount(): number;
|
191
191
|
|
192
|
-
public isRowDataInGroup(rowData: any, groupID?: string): boolean;
|
192
|
+
public isRowDataInGroup(rowData: any, groupID?: string|null): boolean;
|
193
193
|
|
194
|
-
public isRowIdInGroup(rowId: string, groupID?: string): boolean;
|
194
|
+
public isRowIdInGroup(rowId: string, groupID?: string|null): boolean;
|
195
195
|
|
196
|
-
public addRowExpansion(rid: string, count?: number): void;
|
196
|
+
public addRowExpansion(rid: string, count?: number|null): void;
|
197
197
|
|
198
198
|
public removeRowExpansion(rid: string): void;
|
199
199
|
|
200
|
-
public toggleRowExpansion(rowRef: string|number, force?: boolean, count?: number): void;
|
200
|
+
public toggleRowExpansion(rowRef: string|number|null, force?: boolean|null, count?: number|null): void;
|
201
201
|
|
202
202
|
public removeAllRowExpansions(): void;
|
203
203
|
|
204
|
-
public getExpansionParents(from?: number, to?: number): (string)[]|null;
|
204
|
+
public getExpansionParents(from?: number|null, to?: number|null): (string)[]|null;
|
205
205
|
|
206
206
|
public isRowExpansion(rid: string): boolean;
|
207
207
|
|
208
208
|
public hasRowExpansion(rid: string): boolean;
|
209
209
|
|
210
|
-
public getRowExpansionId(rid: string, idx?: number): string;
|
210
|
+
public getRowExpansionId(rid: string, idx?: number|null): string;
|
211
211
|
|
212
212
|
public getRowExpansionIndex(rid: string): number;
|
213
213
|
|
214
|
-
public searchAll(searchLogic: ((...params: any[]) => any), opt_out?: (string)[]): (string)[];
|
214
|
+
public searchAll(searchLogic: ((...params: any[]) => any)|null, opt_out?: (string)[]|null): (string)[];
|
215
215
|
|
216
|
-
public searchPrev(rowRef: number|string, searchLogic: ((...params: any[]) => any)): number;
|
216
|
+
public searchPrev(rowRef: number|string|null, searchLogic: ((...params: any[]) => any)|null): number;
|
217
217
|
|
218
|
-
public searchNext(rowRef: number|string, searchLogic: ((...params: any[]) => any)): number;
|
218
|
+
public searchNext(rowRef: number|string|null, searchLogic: ((...params: any[]) => any)|null): number;
|
219
219
|
|
220
|
-
public stall(opt_bool?: boolean): boolean;
|
220
|
+
public stall(opt_bool?: boolean|null): boolean;
|
221
221
|
|
222
|
-
public enableAutoGroupRemoval(opt_bool?: boolean): boolean;
|
222
|
+
public enableAutoGroupRemoval(opt_bool?: boolean|null): boolean;
|
223
223
|
|
224
|
-
public enableAutoGroupHiding(opt_bool?: boolean): boolean;
|
224
|
+
public enableAutoGroupHiding(opt_bool?: boolean|null): boolean;
|
225
225
|
|
226
226
|
public synchronizeRowOrder(): void;
|
227
227
|
|
228
|
-
public setSegmentSeparator(rowRef: string|number, enabled?: boolean): boolean;
|
228
|
+
public setSegmentSeparator(rowRef: string|number|null, enabled?: boolean|null): boolean;
|
229
229
|
|
230
230
|
public unsetAllSegmentSeparators(): boolean;
|
231
231
|
|
@@ -235,39 +235,39 @@ declare class DataView extends EventDispatcher {
|
|
235
235
|
|
236
236
|
public getSegmentParentRowId(rid: string): string;
|
237
237
|
|
238
|
-
public collapseSegment(rowRef: string|number, collapsed?: boolean): boolean;
|
238
|
+
public collapseSegment(rowRef: string|number|null, collapsed?: boolean|null): boolean;
|
239
239
|
|
240
|
-
public expandSegment(rowRef: string|number, expanded?: boolean): boolean;
|
240
|
+
public expandSegment(rowRef: string|number|null, expanded?: boolean|null): boolean;
|
241
241
|
|
242
242
|
public expandAllSegments(): boolean;
|
243
243
|
|
244
|
-
public isSegmentCollapsed(rowRef: string|number): boolean;
|
244
|
+
public isSegmentCollapsed(rowRef: string|number|null): boolean;
|
245
245
|
|
246
|
-
public fillSegment(segmentRef: string|number): void;
|
246
|
+
public fillSegment(segmentRef: string|number|null): void;
|
247
247
|
|
248
248
|
public fillSegments(): void;
|
249
249
|
|
250
|
-
public addSegmentChild(segmentRef: string|number, rowRef: string|number): boolean;
|
250
|
+
public addSegmentChild(segmentRef: string|number|null, rowRef: string|number|null): boolean;
|
251
251
|
|
252
|
-
public addSegmentChildren(segmentRef: string|number, rowRefs: (string|number)[]): boolean;
|
252
|
+
public addSegmentChildren(segmentRef: string|number|null, rowRefs: (string|number)[]|null): boolean;
|
253
253
|
|
254
|
-
public removeSegmentChild(segmentRef: string|number, rowRef: string|number): boolean;
|
254
|
+
public removeSegmentChild(segmentRef: string|number|null, rowRef: string|number|null): boolean;
|
255
255
|
|
256
|
-
public removeSegmentChildren(segmentRef: string|number, rowRefs: (string|number)[]): boolean;
|
256
|
+
public removeSegmentChildren(segmentRef: string|number|null, rowRefs: (string|number)[]|null): boolean;
|
257
257
|
|
258
258
|
public removeAllSegmentChildren(): boolean;
|
259
259
|
|
260
260
|
public getSegmentIds(): (string)[]|null;
|
261
261
|
|
262
|
-
public getSegmentChildIds(segmentRef: string|number): (string)[]|null;
|
262
|
+
public getSegmentChildIds(segmentRef: string|number|null): (string)[]|null;
|
263
263
|
|
264
|
-
public sortSegments(compare: ((...params: any[]) => any)): void;
|
264
|
+
public sortSegments(compare: ((...params: any[]) => any)|null): void;
|
265
265
|
|
266
266
|
public getWrapSize(): number;
|
267
267
|
|
268
268
|
public getWrappedViews(): (WrappedView)[]|null;
|
269
269
|
|
270
|
-
public wrapView(wrapSize?: number): void;
|
270
|
+
public wrapView(wrapSize?: number|null): void;
|
271
271
|
|
272
272
|
public dump(opt_options?: any): (any)[];
|
273
273
|
|
@@ -281,7 +281,7 @@ declare function fromRids(fromIndex: number, toIndex: number): void;
|
|
281
281
|
|
282
282
|
declare function criteria(value: any|any[]): void;
|
283
283
|
|
284
|
-
declare function len(compare?: ((...params: any[]) => any)): void;
|
284
|
+
declare function len(compare?: ((...params: any[]) => any)|null): void;
|
285
285
|
|
286
286
|
declare function complexData(opt_options?: any): void;
|
287
287
|
|