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

How to traverse DataGrid Items

1 Answer 53 Views
DataGrid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Hung
Top achievements
Rank 1
Hung asked on 25 Jun 2015, 10:06 AM

Hi, 

I'm using DataGrid and put a RadNumericBox inside DataGridTemplateColumn.

How to traverse through the DataGrid to get the RadNumericBox instance in each rows on a button click event.

 

Thank you in advance for any help you may give.

1 Answer, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 30 Jun 2015, 08:31 AM
Hello Hung,

As the DataGrid uses UI virtualization you cannot access its visuals directly. You can use appropriate binding or selectors instead.
Would it be possible to share some more information regarding the use case you need to achieve?

Regards,
Tsvyatko
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
DataGrid
Asked by
Hung
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Share this question
or