angular-ui/ui-grid

Custom Select Rows

Open

#4.331 geöffnet am 7. Sept. 2015

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
good first issuegrid-selectiontype: enhancement

Repository-Metriken

Stars
 (5.395 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Hello, i am changing the gridOption.data values according to a Custom Search functionality i apply to the Grid. The selected Rows, of the previous searches, i save them in an object. But in the new Rows that are comming from the Search, i want to be selected in the grid, those who are available in the Object i use to store previous rows.

I have found the $scope.gridApi.selection.selectRow($row_entity), but this works for a single Row. I want to select more than One. Is there a way??

Thank you in advance.

Contributor Guide