angular-ui/ui-grid

Custom Select Rows

Open

#4.331 aberto em 7 de set. de 2015

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
good first issuegrid-selectiontype: enhancement

Métricas do repositório

Stars
 (5.395 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador