mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
ui-grid - Added missing row.isExpanded value for uiGrid.expandable
This commit is contained in:
parent
fc341765eb
commit
1dfd976b08
14
ui-grid/ui-grid.d.ts
vendored
14
ui-grid/ui-grid.d.ts
vendored
@ -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 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user