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
275
Assign tooltip at cell level in JavaScript
posted

How can we assign a tooltip at cell level at client side using javascript. 

ie.  differrent tooptip text shown depending on the cell over which the mouse moves.

  • 28464
    Suggested Answer
    posted

    Hello,

    I think you can start at the CSOM (client-side object model) documentation for Cell here:

    http://help.infragistics.com/Help/NetAdvantage/NET/2008.3/CLR2.0/html/WebGrid_cell_Object_CSOM.html

    There is a public method getElement() which gets to the actual DOM Html element of the Cell. At this point I think you can directly set its title property to anything you wish (title in DOM is the actual tooltip of the element).

    Hope this helps.