coersystem
Version:
Library for Angular projects
53 lines (52 loc) • 1.88 kB
TypeScript
import { CoerGridExtension } from './coer-grid.extension';
import * as i0 from "@angular/core";
export declare class CoerGrid<T> extends CoerGridExtension<T> {
get isValid(): boolean | undefined;
dataSourceSelected: import("@angular/core").Signal<T[]>;
/** */
FocusSearch(select?: boolean, delay?: number): void;
/** ???????? */
Import(): void;
/** */
Export(exportFile?: boolean): void;
/** */
GetRowBy<T>(callback: (row: T) => boolean): T | null;
/** */
GetRowsBy<T>(callback: (row: T) => boolean): T[];
/** */
FocusRow(callback: (row: T) => boolean): void;
/** */
FocusInput(indexRow?: number, indexColumn?: number, onlyFocus?: boolean): void;
/** */
FocusLastInput(): void;
/** */
Sort(columnName: string): void;
/** */
SortDesc(columnName: string): void;
/** */
CheckAll(): Promise<void>;
/** */
UncheckAll(): Promise<void>;
/** */
CheckBy(callback: (row: T) => boolean): Promise<void>;
/** */
UncheckBy(callback: (row: T) => boolean): Promise<void>;
/** Inserts a new element at the start */
Unshift(row: T, focus?: boolean): void;
/** Inserts new elements at the start */
UnshiftConcat(rows: T[], focus?: boolean): void;
/** Appends a new element to the end */
Push(row: T, focus?: boolean): void;
/** Appends new elements to the end */
PushConcat(rows: T[], focus?: boolean): void;
/** Delete row list by callback */
DeleteRowsBy(callback: (row: T) => boolean): T[];
/** Delete Row By index */
DeleteIndexRow(indexRow: number): Promise<void>;
/** */
Pop(): T | undefined;
/** */
Shift(): T | undefined;
static ɵfac: i0.ɵɵFactoryDeclaration<CoerGrid<any>, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CoerGrid<any>, "coer-grid", never, {}, {}, never, ["*"], false, never>;
}