From 4d7118424756fb8b9cee847b6afb7efab4357857 Mon Sep 17 00:00:00 2001 From: Ashwin Date: Wed, 7 Oct 2015 11:01:20 -0700 Subject: [PATCH] Added missing options for infinite scroll infiniteScrollRowsFromEnd, infiniteScrollUp and infiniteScrollDown were missing in IGridOptions. These were added. --- ui-grid/ui-grid.d.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/ui-grid/ui-grid.d.ts b/ui-grid/ui-grid.d.ts index ece964280..fde4ee86a 100644 --- a/ui-grid/ui-grid.d.ts +++ b/ui-grid/ui-grid.d.ts @@ -2087,6 +2087,25 @@ declare module uiGrid { * @default true */ enableInfiniteScroll?: boolean; + /** + * Number of rows from the end of the dataset + * at which infinite scroll will trigger a request + * for more data + * @default 20 + */ + infiniteScrollRowsFromEnd?: number; + /** + * Inform the grid of whether there are rows + * to load when scrolling up + * @default false + */ + infiniteScrollUp?: boolean, + /** + * Inform the grid of whether there are rows + * to load scrolling down + * @default true + */ + infiniteScrollDown?: boolean, } /**