This is a migrated thread and some comments may be shown as answers.

Find grid edited cells from another grid

1 Answer 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Stefania
Top achievements
Rank 2
Stefania asked on 07 Jul 2015, 11:00 AM

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

1 Answer, 1 is accepted

Sort by
0
Accepted
Kostadin
Telerik team
answered on 10 Jul 2015, 06:27 AM
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
Tags
Grid
Asked by
Stefania
Top achievements
Rank 2
Answers by
Kostadin
Telerik team
Share this question
or