How do I obtain the value in a cell for a selected Row?

4 posts, 0 answers
  1. Robert
    Robert avatar
    7 posts
    Member since:
    Aug 2016

    Posted 16 Aug 2016 Link to this post

    I want the cell value from RadVirtualGrid as the user selects a row.

     

    I don't have multi-select enabled.... And, I have row select.... So, there should be only one row selected at a time.

     

    I'd like the text or number that appears in one of the columns. For example, the text value of the first column (0)

     

    How is this obtained?

  2. Dess
    Admin
    Dess avatar
    2052 posts

    Posted 17 Aug 2016 Link to this post

    Hello Robert,

    Thank you for writing. 

    You can't extract the cell value directly from RadVirtualGrid. You can get the row/column index of the selected cell/row and thus extract the required data from the DataSource. Additional information about RadVirtualGrid's selection is available here: http://docs.telerik.com/devtools/winforms/virtualgrid/selection/selection

    I hope this information helps. Should you have further questions I would be glad to help.

    Regards,
    Dess
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  3. Garrett
    Garrett avatar
    2 posts
    Member since:
    Oct 2014

    Posted 17 Jul in reply to Dess Link to this post

    It would be great if you responded with an example.

     

  4. Dess
    Admin
    Dess avatar
    2052 posts

    Posted 18 Jul Link to this post

    Hello Garrett, 

    Thank you for writing.  

    I have attached a sample project demonstrating how to extract a cell's value from the external source directly.

    I hope this information helps. Should you have further questions I would be glad to help.

     Regards,
    Dess
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top