From b16db4154d9bda4f7a379f10a8d383b09d2309fd Mon Sep 17 00:00:00 2001 From: hansrwindhoff Date: Mon, 24 Mar 2014 14:29:01 -0600 Subject: [PATCH] selectItem --- ng-grid/ng-grid.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ng-grid/ng-grid.d.ts b/ng-grid/ng-grid.d.ts index e72344d34..70f4f569f 100644 --- a/ng-grid/ng-grid.d.ts +++ b/ng-grid/ng-grid.d.ts @@ -130,6 +130,9 @@ declare module ngGrid { /** all of the items selected in the grid. In single select mode there will only be one item in the array. */ selectedItems?: any[]; + /** Select deselect an item by index. */ + selectItem?: (idx:number, state:boolean) =>any; + /** Disable row selections by clicking on the row and only when the checkbox is clicked. */ selectWithCheckboxOnly?: boolean;