ui-grid - Added missing row.isExpanded value for uiGrid.expandable

This commit is contained in:
Joe Skeen 2015-11-18 15:22:29 -07:00
parent fc341765eb
commit 1dfd976b08

14
ui-grid/ui-grid.d.ts vendored
View File

@ -1558,6 +1558,18 @@ declare module uiGrid {
*/
(row: IGridRowOf<TEntity>): void;
}
/**
* GridRow settings for expandable
*/
export interface IGridRow {
/**
* If set to true, the row is expanded and the expanded view is visible
* Defaults to false
* @default false
*/
isExpanded?: boolean;
}
}
export module exporter {
@ -3418,7 +3430,7 @@ declare module uiGrid {
}
export type IGridRow = IGridRowOf<any>;
export interface IGridRowOf<TEntity> extends cellNav.IGridRow, edit.IGridRow, exporter.IGridRow,
selection.IGridRow {
selection.IGridRow, expandable.IGridRow {
/** A reference to an item in gridOptions.data[] */
entity: TEntity;
/** A reference back to the grid */