com.phloxui
Version:
PhloxUI Ng2+ Framework
25 lines (24 loc) • 1.22 kB
TypeScript
import { PhloxTable } from './PhloxTable.component';
import { TableRowController } from './TableRowController';
import { IExpandableTableRowController } from './IExpandableTableRowController';
export declare class ExpandableTableRowController extends TableRowController implements IExpandableTableRowController {
protected parent: IExpandableTableRowController;
protected children: IExpandableTableRowController[];
protected expanding: boolean;
constructor(table: PhloxTable, data?: any, parent?: IExpandableTableRowController);
private setShowing(row, show, recursive?);
protected addChild(child: IExpandableTableRowController): boolean;
protected removeChild(child: IExpandableTableRowController): boolean;
getParent(): IExpandableTableRowController;
setParent(parent: IExpandableTableRowController): void;
getChildren(): IExpandableTableRowController[];
hasChildren(): boolean;
hasChild(child: IExpandableTableRowController): boolean;
expand(): void;
contract(): void;
toggleExpand(): void;
setExpanding(expand: boolean): void;
isExpanding(): boolean;
loadState(oldState: IExpandableTableRowController): void;
getExpandLevel(): number;
}