Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
how to catch current row while moving mouse inside ultragrid
posted

i am facing problem. currently i am using mouseenterelement event for display formatted tooltip for current row. it is working but it is not working for row by row mouse movement. once i move mouse from grid and again place in row it is working. but my requirement is within grid if i move mouse row by row it should show current row value in tooltip.

thanks in advance

Parents
No Data
Reply
  • 1700
    Offline posted

    Hello Gurumurthy,

    In order to show tooltip for each row you can use the InitializeRow event, this event provides an opportunity to perform actions on the row after it is created. You can set the tooltip to show the current row index like that:

    e.Row.ToolTipText = string.Format("Row Index {0}", e.Row.Index);

    Attached you will find a sample application, which demonstrates showing the tooltip for each row using the InitializeRow event.

    Please let me know if you need further assistance.

    Regards,
    Ivan Kitanov

    ShowingRowToolTip.zip

Children