angular-ui/ui-grid

grid in a modal doesnt show data when clicked on the button of the parent grid column

已關閉

#4,445 建立於 2015年9月29日

 (0 則留言) (0 個反應) (0 位負責人)JavaScript (2,496 個分叉)batch import
help wantedneeds: analysis

倉庫指標

星標
 (5,395 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Hi, I am trying to show data in the grid in a modal, and I am trying to set data of the grid inside modal in the click event of the parent grid button column, it's not showing data but if I set the data outside the onclick event, it works fine. looks like the scope issue. here is the plunker I made to take a look: http://plnkr.co/edit/rTFn39Y0m8iFSSVodvHL?p=preview

Thanks, Hassan

貢獻者指南