@revolist/revogrid 3.7.9 → 3.7.10

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.
@@ -361,6 +361,8 @@ export declare class RevoGridComponent {
361
361
  * Get the currently selected Range.
362
362
  */
363
363
  getSelectedRange(): Promise<Selection.RangeArea | null>;
364
+ /** Set focus range. */
365
+ setCellsFocus(cellStart?: Selection.Cell, cellEnd?: Selection.Cell, colType?: string, rowType?: string): Promise<void>;
364
366
  /** Clear data which is outside of grid container */
365
367
  private handleOutsideClick;
366
368
  /** DRAG AND DROP */
@@ -62,6 +62,8 @@ export default class ViewportService {
62
62
  */
63
63
  getFocused(): FocusedData | null;
64
64
  getSelectedRange(): Selection.RangeArea | null;
65
+ setFocus(colType: string, rowType: string, start: Selection.Cell, end: Selection.Cell): void;
66
+ getStoreCoordinateByType(colType: RevoGrid.DimensionCols, rowType: RevoGrid.DimensionRows): Selection.Cell | undefined;
65
67
  setEdit(rowIndex: number, colIndex: number, colType: RevoGrid.DimensionCols, rowType: RevoGrid.DimensionRows): void;
66
68
  }
67
69
  export {};
@@ -180,6 +180,10 @@ export namespace Components {
180
180
  * Bring cell to edit mode
181
181
  */
182
182
  "setCellEdit": (rgRow: number, prop: RevoGrid.ColumnProp, rowSource?: RevoGrid.DimensionRows) => Promise<void>;
183
+ /**
184
+ * Set focus range.
185
+ */
186
+ "setCellsFocus": (cellStart?: Selection.Cell, cellEnd?: Selection.Cell, colType?: string, rowType?: string) => Promise<void>;
183
187
  /**
184
188
  * Source - defines main data source. Can be an Object or 2 dimensional array([][]); Keys/indexes referenced from columns Prop
185
189
  */
@@ -41,6 +41,7 @@ export default class SelectionStoreConnector {
41
41
  item: Partial<Selection.Cell>;
42
42
  };
43
43
  getCurrentStorePointer(store: SelectionStore): Selection.Cell;
44
+ focusByCell<T extends Cell>(storePos: T, start: T, end: T): void;
44
45
  focus(store: SelectionStore, { focus, end }: {
45
46
  focus: Cell;
46
47
  end: Cell;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolist/revogrid",
3
- "version": "3.7.9",
3
+ "version": "3.7.10",
4
4
  "description": "Virtual reactive data grid component - RevoGrid.",
5
5
  "license": "MIT",
6
6
  "directories": {