Find grid edited cells from another grid

2 posts, 1 answers
  1. Stefania
    Stefania avatar
    154 posts
    Member since:
    May 2013

    Posted 07 Jul 2015 Link to this post

    Hi,

    when I selected a row on my grid (A) I load another grid (B) based on the selection.

    Grid B is always open on edit mode

    When I click on button located into grid A I need to find the edited items on grid B

    I try to be more clear...

    1. Select row on grid A

    2. Open grid B in edit mode

    3. Edit cells on grid B

    4. Press button on grid A and find the edited cells on grid B

    How can I find the edited cells on grid B?

     

    Thank you

  2. Answer
    Kostadin
    Admin
    Kostadin avatar
    1733 posts

    Posted 10 Jul 2015 Link to this post

    Hi Stefania,

    You can access the edit form item by using EditItems collection. Please check out the following code snippet.
    GridEditableItem editItem = RadGrid1.EditItems[0] as GridEditableItem;

    After you access the edit item you can use the standard approach to access the cells and their values as described in the following help article.

    Regards,
    Kostadin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top