Selection in grid context (#2527)

* update action context on selection change

* correctly add ranges rather than a new range for every row

* add required functions to typings
This commit is contained in:
Anthony Dresser
2018-09-11 17:10:53 -07:00
committed by Karl Burtram
parent c559ac7be9
commit 89e6d363e2
6 changed files with 47 additions and 24 deletions

View File

@@ -764,6 +764,16 @@ declare namespace Slick {
**/
destroy(): void;
/**
* Sets selected ranges for the grid
*/
setSelectedRanges(ranges: Slick.Range[]);
/**
* Gets selected ranges for the grid
*/
getSelectedRanges(): Slick.Range[];
onSelectedRangesChanged: Slick.Event<E>;
}