Merge pull request #6192 from ashwin027/fixes1

Added missing options for infinite scroll
This commit is contained in:
Masahiro Wakame
2015-10-14 13:06:52 +09:00
+19
View File
@@ -722,6 +722,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