mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-12 12:10:44 +08:00
Fixed row getters in selection API.
See: http://ui-grid.info/docs/#/api/ui.grid.selection.api:PublicApi getSelectedGridRows should return uiGrid.IGridRow, not the uiGrid.selection.IGridRow interface which only has the selection-specific properties. getSelectedRows returns the selected entities, not grid rows.
This commit is contained in:
Vendored
+2
-2
@@ -2823,12 +2823,12 @@ declare module uiGrid {
|
||||
* returns all selected rows as gridRows
|
||||
* @returns {Array<IGridRow>} The selected rows
|
||||
*/
|
||||
getSelectedGridRows(): Array<IGridRow>;
|
||||
getSelectedGridRows(): Array<uiGrid.IGridRow>;
|
||||
/**
|
||||
* Gets selected rows as entities
|
||||
* @returns {Array<any>} Selected row entities
|
||||
*/
|
||||
getSelectedRows(): Array<IGridRow>;
|
||||
getSelectedRows(): Array<any>;
|
||||
/**
|
||||
* Selects all rows. Does nothing if multiselect = false
|
||||
* @param {ng.IAngularEvent} event object if raised from event
|
||||
|
||||
Reference in New Issue
Block a user