in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

How to get Columnvalue on mouseover

Last post 5/24/2007 8:41 AM by Kaan Gecer. 0 replies.
Page 1 of 1 (1 items)
Sort Posts:
Previous Next
  • 5/24/2007 8:41 AM

    How to get Columnvalue on mouseover

    Hi, 

    I want to get the value of any column on mouseover.

    I know the rowid. see Question-ID: DQ2260

     I tried:

    - var js = "var DC="+ e.row.GetDataControllerRow() + "; tooltip(DC.GetValue(6))";

      e.htmlElement.onmousemove = new Function(js);

    - var js = "var grid=" + source.GetName() + ";var row=grid.GetRow("+ e.row.GetIndex() + ");var dc=row.GetDataControllerRow(); tooltip(dc.GetValue(6))";

      e.htmlElement.onmousemove = new Function(js);

     

    tooltip is a function that displays a preview in tooltip. In Column 6 in the grid is the information about the location of picture.

    Thanks

    KG

Page 1 of 1 (1 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED