@progress/kendo-angular-grid
Version:
Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.
29 lines (28 loc) • 831 B
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* @hidden
*/
export class GridFocusableElement {
navigationService;
constructor(navigationService) {
this.navigationService = navigationService;
}
focus() {
this.navigationService.focusCell();
}
toggle(active) {
this.navigationService.toggle(active);
}
canFocus() {
return true;
}
hasFocus() {
return this.navigationService.hasFocus();
}
isNavigable() {
return false;
}
}