mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Merge pull request #31729 from andrewkittredge/master
[ui-grid] Fix signature of getVisibleRows
This commit is contained in:
Vendored
+1
-2
@@ -927,10 +927,9 @@ declare namespace uiGrid {
|
||||
clearRowInvisible(rowEntity: TEntity): void;
|
||||
/**
|
||||
* Returns all visible rows
|
||||
* @param {IGridInstance} grid the grid you want to get visible rows from
|
||||
* @returns {Array<IGridRow>} an array of gridRow
|
||||
*/
|
||||
getVisibleRows(grid: IGridInstanceOf<TEntity>): Array<IGridRowOf<TEntity>>;
|
||||
getVisibleRows(): Array<IGridRowOf<TEntity>>;
|
||||
/**
|
||||
* Trigger a grid resize, normally this would be picked
|
||||
* up by a watch on window size, but in some circumstances it is necessary
|
||||
|
||||
@@ -117,7 +117,7 @@ var uiGridConstants: uiGrid.IUiGridConstants;
|
||||
|
||||
gridApi.core.clearAllFilters(true);
|
||||
gridApi.core.addToGridMenu(gridInstance, [menuItem]);
|
||||
gridApi.core.getVisibleRows(gridInstance);
|
||||
gridApi.core.getVisibleRows();
|
||||
gridApi.core.handleWindowResize();
|
||||
gridApi.core.queueGridRefresh();
|
||||
gridApi.core.queueRefresh();
|
||||
|
||||
Reference in New Issue
Block a user