Merge pull request #31729 from andrewkittredge/master

[ui-grid] Fix signature of getVisibleRows
This commit is contained in:
Sheetal Nandi
2019-01-02 12:11:35 -08:00
committed by GitHub
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -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
+1 -1
View File
@@ -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();