Moved options to global IGridoptions

Moved options infiniteScrollRowsFromEnd, infiniteScrollUp and
infiniteScrollDown into the global Igridoptions.
This commit is contained in:
Ashwin
2015-10-12 13:51:51 -07:00
parent 4d71184247
commit 1ece0d3a3e

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

@@ -713,6 +713,25 @@ declare module uiGrid {
* @default 4
*/
horizontalScrollThreshold?: number;
/**
* 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,
/**
* Defaults to 200
* @default 200
@@ -2087,25 +2106,6 @@ 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,
}
/**