@progress/kendo-angular-grid
Version:
Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.
51 lines (50 loc) • 1.94 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { Subject } from 'rxjs';
import { NavigationChange } from './navigation-change.interface';
import { NavigationCell } from './navigation-cell.interface';
import { NavigationModel } from './navigation-model';
import { NavigationMetadata } from './navigation-metadata';
/**
* @hidden
*/
export declare class NavigationCursor {
private model;
readonly changes: Subject<NavigationChange>;
set metadata(value: NavigationMetadata);
get metadata(): NavigationMetadata;
private activeRow;
private activeCol;
private virtualCol;
private virtualRow;
private _metadata;
get row(): any;
get cell(): NavigationCell;
get dataRowIndex(): number;
constructor(model: NavigationModel);
/**
* Assumes and announces a new cursor position.
*/
reset(rowIndex?: number, colIndex?: number, force?: boolean): void;
activate(rowIndex: number, colIndex: number, force?: boolean): boolean;
isActiveRange(rowIndex: number, colIndex: number): boolean;
/**
* Assumes a new cursor position without announcing it.
*/
assume(rowIndex?: number, colIndex?: number): void;
/**
* Announces a current cursor position to subscribers.
*/
announce(): void;
activateVirtualCell(cell: any): boolean;
isActive(rowIndex: number, colIndex: number): boolean;
moveUp(offset?: number): boolean;
moveDown(offset?: number): boolean;
moveLeft(offset?: number): boolean;
moveRight(offset?: number): boolean;
lastCellIndex(row?: any): number;
private offsetCol;
private offsetRow;
}