0
我想顯示qtip或任何其他方式顯示數據庫中數據的asp.net gridview上的工具提示。使用動態數據在gridview上顯示qtip/toolip
我有qtip與標題上的頁面上的按鈕一起工作,我不知道如何將它懸停在gridview上的每個單元格(這裏是我的代碼按鈕)。
$('input[title]').qtip({
content: {
},
position: {
corner: {
target: 'bottomRight',
tooltip: 'topLeft'
}
},
style: {
name: 'cream',
padding: '7px 13px',
width: {
max: 210,
min: 0
},
tip: true,
'color': '#666666'
}
});
也不知道如何從qtip中的代碼後面調用函數並將我的行ID傳遞給它。
網格是一個正常的網格,數據綁定列,如下圖所示:
<asp:GridView ID="gvmygrid" runat="server" AllowPaging="false" AllowSorting="true"
AutoGenerateColumns="false" GridLines="None">
<Columns>
<asp:BoundField DataField="firstColumn" HeaderText="Col1" ReadOnly="true" />
<asp:BoundField DataField="Type" HeaderText="Type" ReadOnly="true" />
</Columns>
</asp:GridView>