1
私はいくつかの行のあるグリッドを持ち、各行をクリックすると角度ポップオーバーUIBotstrapが開きます。私の問題は、ポップオーバーに行の一部のデータ(行IDなど)とサーバーから取得するデータが入っているので、ng-click
を追加しましたが、データが受信されてポップオーバーする前にポップオーバーが呼び出されますデータがそのデータで満たされることはありません。開かれたポップオーバーの前の角度ポップオーバーUIBotstrapイベント
コード:
templateUrl: 'realTimeAdherence/popovers/unknownActivityStatusPopover.tpl.html'
<button class="buttonPopover" ng-click="onUnmappedEventBtnClicked(\'' + params.data.acdEventId + '\',\'' + params.data.acdEventReasonCode + '\')" popover-class="user-tooltip popoverBehindModal" uib-popover-template="unknownActivityStatusPopover.templateUrl" popover-trigger="focus" popover-append-to-body="true">' +
'<img class="status-image" asset-src="/img/user_management/ico_status_pending_alert.png"></button>
はどうやってデータを受信した後にのみ、動的にポップオーバーを開くことができますか?