2014-04-30 45 views
2

在我的NG-網格選項,我有:顯示在NG-網格單元格的點擊提示:Angularjs

columnDefs : [ 
{ 
            field : 'status', 
            headerClass : 'tbl-header', 
            displayName : 'Status', 
            cellTemplate : '<span tooltip="{{row.entity.note}}" tooltip-append-to-body="true" tooltip-trigger:"focus">{{row.entity.status}}</span>' 
           }, 

], 

但這並不在列單元格的點擊顯示工具提示。但是,如果我刪除了tooltip-trigger:"focus",則工具提示會出現在懸停上。

如何顯示單元格模板的單擊事件上的工具提示?

+1

你試過用'tooltip-trigger =「點擊」'? – JoseM

+0

Nope在定義時使用了焦點 –

回答

相關問題