Hi ,
I am using WebDataGrid of infragistics and i do have databounds columns into it. Now i want to use a Jquey frunction which will show bubble popup on mouse hovering on a particular coulmn.
But i am unable to find the column using id because Column does not have a id property.
$(document).ready(function () { $('.button').CreateBubblePopup({
//mycode
});
in above code i need to perform my operations on certain column instead of .button i need to give that column id.
Please help.
Many thanks in advance.
Regards,
Vivek Mahawar
Hi Vivek,
I would suggest that you use the CssClass property of the grid columns. For example:
<ig:BoundDataField DataFieldName="ID" Key="ID" CssClass="column1" >
<Header Text="ID" />
</ig:BoundDataField>
Then you can easily access this column using jQuery:
$(document).ready(function () {
$(".column1").hover(function () {
$(this).css("color", "red");
}, function () {
$(this).css("color", "black");
Please let me know if you have any questions.
Hi Nikolay,
Your answer did work for me.
Many many thanks.
Vivek
Hello Vivek,
I'm glad I could help. Let me know if you have any further questions.