angular-ui/ui-grid

Custom Select Rows

Open

#4,331 建立於 2015年9月7日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (2,496 fork)batch import
good first issuegrid-selectiontype: enhancement

倉庫指標

Star
 (5,395 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南