Forums

value cell

Last post 7/7/2009 11:49 AM by ilario santamaria. 3 replies.
Sort Posts: Previous Next
  • ilario santamaria

    value cell

    7/4/2009 8:32 AM
    • Top 500 Contributor
    • Joined on 6/20/2009
    • Monza, Italia
    • Posts 58

     

    hello

    is a simple thing but I can not find the solution Big Smile

    private sub gridList_doubleclick (........)

    txtname.text = selectrow (column1)
    txtage.text = selectrow (column2)

    ....

    end sub

    how can I do?
    thanks
  • ilario santamaria

    Re: value cell

    7/4/2009 8:50 AM
    • Top 500 Contributor
    • Joined on 6/20/2009
    • Monza, Italia
    • Posts 58

     

    I have found

    txtname.text = gridview1.getfocusedrowdisplaytext("name")

    is it correct ?

  • Brendon Muck [DX Squad]

    Re: value cell

    7/5/2009 6:24 PM
    • Top 10 Contributor
    • Joined on 5/16/2007
    • Buffalo, NY
    • Posts 5,810

    Technically, the display text of a cell can be different than the value of the cell (for instance, if you handle the GridView's CustomDisplayText event). You might want to use the GridView's GetFocusedRowCellValue() method.

    Please do not email me directly for support. Use the Support Center or Community Forums so that everyone may benefit.
  • ilario santamaria

    Re: value cell

    7/7/2009 11:49 AM
    • Top 500 Contributor
    • Joined on 6/20/2009
    • Monza, Italia
    • Posts 58

     thank

    ilario

More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.