angular-ui/ui-grid

Custom Select Rows

Open

#4331 aperta il 7 set 2015

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
good first issuegrid-selectiontype: enhancement

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor