@rxap/table-system
Version:
This package provides a set of Angular directives, components, and services to enhance data tables with features like row expansion, full-text search, and row selection with checkboxes. It includes modules for easy integration of these features into exist
14 lines (13 loc) • 536 B
TypeScript
import { BehaviorSubject, Observable } from 'rxjs';
import * as i0 from "@angular/core";
/**
* @deprecated use from @rxap/material-table-system
*/
export declare class ExpandRowService<Data extends Record<string, any>> {
expandedRow: BehaviorSubject<Data | null>;
toggleRow(row: Data): void;
isExpanded(row: Data): boolean;
isExpanded$(row: Data): Observable<boolean>;
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandRowService<any>, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ExpandRowService<any>>;
}