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

Best way to get the value of the of a column in the selected row

3 Answers 654 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 10 Apr 2012, 08:32 PM
What is the best approach to getting the value of a column or cell in the selected row?
I can't seem to find a clear and easy way to make this happen. Any help would be appreciated.

3 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 11 Apr 2012, 03:17 PM
Hello Marcus,

 
The easiest way to get field's value from the selected item is by using Grid's dataItem method to retrieve the data record associated with the selected row and then to get the value of the field itself:

Regards,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Juan
Top achievements
Rank 1
answered on 16 Apr 2012, 02:47 PM
Hi, the same query, but in a cell or row updated ?
Thanks you.
0
Brian
Top achievements
Rank 1
answered on 16 Apr 2012, 02:55 PM
Awesome, thanks for you help!
Tags
Grid
Asked by
Brian
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Juan
Top achievements
Rank 1
Brian
Top achievements
Rank 1
Share this question
or