Forums
Forums are Read-Only. Use the new Support Center. To start a general discussion, use the General category when submitting your question.

get value a any cell of row selected in gridControl

Last post 2/6/2012 1:43 AM by Vukashin Prascevic 1. 15 replies.
1 2 Next
Sort Posts: Previous Next
  • Binh Nguyen

    get value a any cell of row selected in gridControl

    3/1/2008 6:22 AM
    • Not Ranked
    • Joined on 3/1/2008
    • Posts 1

    Dear, 

    help me. I have a broblem

    I want to  get value a any cell of row selected in gridControl

    thank's 

  • Robert Chaffe

    Re: get value a any cell of row selected in gridControl

    3/1/2008 9:51 AM
    • Top 50 Contributor
    • Joined on 5/4/2007
    • Dallas, Texas
    • Posts 880
    Check the documentation for the various "Get..." methods.  For example, the ColumnView.GetFocusedRowCellValue Method "returns the edit value of the specified cell within the focused row."
     
     
  • Sertunc SELEN

    Re: get value a any cell of row selected in gridControl

    10/6/2010 2:49 AM
    • Top 500 Contributor
    • Joined on 8/27/2009
    • Posts 57

    What about how we can make at aspxgridview

  • Manali Mankad

    Re: get value a any cell of row selected in gridControl

    3/16/2011 3:26 AM
    • Not Ranked
    • Joined on 3/16/2011
    • Posts 1
  • carlos vaquedano

    Re: get value a any cell of row selected in gridControl

    7/18/2011 1:20 PM
    • Not Ranked
    • Joined on 6/27/2011
    • Posts 1
     and how can i get the value of column(n) of current row when i use a gridband???
  • robert alis

    Re: get value a any cell of row selected in gridControl

    7/18/2011 2:18 PM
    • Not Ranked
    • Joined on 7/18/2011
    • Posts 8

    Hello,

     You have raise the right question. How we can get value of any cell of row selected in gridControl? No questions go unanswered, so may be there will be a solution for this.

  • Brendon Muck [DX Squad]

    Re: get value a any cell of row selected in gridControl

    7/18/2011 3:33 PM
    • Top 10 Contributor
    • Joined on 5/16/2007
    • Buffalo, NY
    • Posts 6,154
    Please do not email me directly for support. Use the Support Center or Community Forums so that everyone may benefit.
  • bely hits

    Re: get value a any cell of row selected in gridControl

    7/19/2011 1:35 AM
    • Not Ranked
    • Joined on 7/19/2011
    • Posts 3

    Hello

     Try this

    ColumnView.GetFocusedValue- Returns the edit value within the currently focused cell.

    ColumnView.FocusedValue - The focused cell is identified by the focused column which is specified by the ColumnView.FocusedColumn property and the focused row is specified by the ColumnView.FocusedRowHandle property.

     

    May be helpfull.

  • robert alis

    Re: get value a any cell of row selected in gridControl

    7/20/2011 3:46 AM
    • Not Ranked
    • Joined on 7/18/2011
    • Posts 8
    I think it can also use to get value of any cell of row selected in gridControl
    string cellValue;
    cellValue = gridView1.GetRowCellValue(2, "ID").ToString();
  • ANKITA parasrampuria

    Re: get value a any cell of row selected in gridControl

    12/16/2011 12:29 PM
    • Not Ranked
    • Joined on 12/16/2011
    • Posts 3

    Here 2 is the row number ...but how we can get row number of selected row in grid control........ ??????

    [



  • Brendon Muck [DX Squad]

    Re: get value a any cell of row selected in gridControl

    12/16/2011 1:53 PM
    • Top 10 Contributor
    • Joined on 5/16/2007
    • Buffalo, NY
    • Posts 6,154
    Please do not email me directly for support. Use the Support Center or Community Forums so that everyone may benefit.
  • ANKITA parasrampuria

    Re: get value a any cell of row selected in gridControl

    12/17/2011 12:59 AM
    • Not Ranked
    • Joined on 12/16/2011
    • Posts 3

     textbox.text=Gridemp.GetRowCellValue(Gridemp.GetSelectedRows().ToString, "Empname").ToString

    i hve done this ......but its not working can u give me the coding ......plz

    thx in advance.

  • Brendon Muck [DX Squad]

    Re: get value a any cell of row selected in gridControl

    12/17/2011 1:18 AM
    • Top 10 Contributor
    • Joined on 5/16/2007
    • Buffalo, NY
    • Posts 6,154

    It's not working because you're not using the GetSelectedRows method correctly.

    The GetSelectedRows method returns an integer array containing the index of all the selected rows. You would then use those row handles in the GetRowCellValue method to find the value of the selected cell(s).

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

    Re: get value a any cell of row selected in gridControl

    12/23/2011 2:56 AM
    • Not Ranked
    • Joined on 12/16/2011
    • Posts 3

     sir i  m preparing task managemnt system .. i hve to prepare remainder alert..... bt i dnt knw which control to use when user get login he should get remainder tht his task is incomplete or pending.....this should be displayed like pop up or msg box ........so which control can i use????????


  • Brendon Muck [DX Squad]

    Re: get value a any cell of row selected in gridControl

    12/23/2011 9:44 AM
    • Top 10 Contributor
    • Joined on 5/16/2007
    • Buffalo, NY
    • Posts 6,154

    You could simply use the XtraMessageBox class, but I think the AlertControl might work better for your task.

    If you're making a Task Management system, you may also want to try using the XtraScheduler product.

    Please do not email me directly for support. Use the Support Center or Community Forums so that everyone may benefit.
1 2 Next
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.