Archived
Rework slickgrid keyboard navigation (#1930)
* rewrite keybind nav to handle ctrl + home and end * testing different options * working on removed slickgrid changes we don't need * formatting * handle click handler to rowNumber * fixing various bugs * formatting * readd click column to select * add shift key to column select * added logic for additional keybindings on grid * add down and up arrow into keyboard navigation * update styling and update slickgrid * formatting * update angular-slickgrid version * remove index.js changes
This commit is contained in:
+1
-1
@@ -1149,7 +1149,7 @@ declare namespace Slick {
|
||||
* @param row A row index.
|
||||
* @param cell A column index.
|
||||
**/
|
||||
public setActiveCell(row: number, cell: number): void;
|
||||
public setActiveCell(row: number, cell: number, opt_editMode?: boolean, preClickModeOn?: boolean, suppressActiveCellChangedEvent?: boolean): void;
|
||||
|
||||
/**
|
||||
* Sets CSS classes to specific grid cells by calling removeCellCssStyles(key) followed by addCellCssStyles(key, hash). key is name for this set of styles so you can reference it later - to modify it or remove it, for example. hash is a per-row-index, per-column-name nested hash of CSS classes to apply.
|
||||
|
||||
@@ -81,6 +81,11 @@ export interface IColumnDefinition {
|
||||
formatter?: (row: number, cell: any, value: any, columnDef: any, dataContext: any) => string;
|
||||
isEditable?: boolean;
|
||||
}
|
||||
|
||||
export interface ISlickColumn<T> extends Slick.Column<T> {
|
||||
isEditable?: boolean;
|
||||
}
|
||||
|
||||
export interface IGridColumnDefinition {
|
||||
id: string;
|
||||
type: number;
|
||||
|
||||
Reference in New Issue
Block a user