@progress/kendo-angular-treelist
Version:
Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.
49 lines (48 loc) • 1.86 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>;
metadata: NavigationMetadata;
private activeRow;
private activeCol;
private virtualCol;
private virtualRow;
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(): number;
private offsetCol;
private offsetRow;
}