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

[Solved] Client side selection

2 Answers 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 29 Apr 2009, 02:12 PM
I need a way to get the value from the selected row from the radgrid. I cant use datakeyvalues because the columns in the grid change depending on the situation. Autogenerate columns is true

I just need a way to say show me whats in cell 4 of the selected row in the grid

2 Answers, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 29 Apr 2009, 03:01 PM
Hi Sean,

You can retrieve the values of column cells when the row that contains them is selected. This can be accomplished using the getCellByColumnUniqueName method of the GridTableView client-side object. This method takes two parameters: a row object and the UniqueName of a column. It returns the corresponding cell from the grid table.
For more information about how to get cell values for selected rows client side, refer to the following link.

Greetings,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Sean
Top achievements
Rank 1
answered on 29 Apr 2009, 03:21 PM
The answer above worked
Tags
Grid
Asked by
Sean
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Sean
Top achievements
Rank 1
Share this question
or