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

Getting values from picked row?

1 Answer 78 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rodrigo
Top achievements
Rank 1
Rodrigo asked on 10 Jul 2019, 11:49 AM

Hi, I'm fairly new to telerik and I need help with radgrid. I'm trying to select a row and getting values from 2 columns in the selected row (FileName and Type)

I did: 

<ClientSettings><Selecting AllowRowSelect="True" /><ClientEvents OnRowClick="buttonClick" /></ClientSettings>

 

But I have no idea what to do on buttonClick, I am using it on Cora SeQuence.Can anybody tell me how I can do this?

1 Answer, 1 is accepted

Sort by
0
Attila Antal
Telerik team
answered on 15 Jul 2019, 08:06 AM
Hi Rodrigo,

Please visit the following article: Accessing Cells and Values in Client-Side Code. There is an example of accessing cells, values, controls and more in the grid when clicking on a Button.

Also, you will need to get familiar with the Client-Side APIs of the grid: Client-Side Programming Overview

On the other hand, the ClientEvents of RadGrid are fired when interacting with the Grid itself. For instance the OnRowClick event is fired when clicking on a Row of the Grid. In the event handler, the sender is the RadGrid, while the arguments are the information about the Grid row that is being clicked on. See OnRowClick event handler.

If you could share with us a little more details on the Grid configuration and describe the steps you would like to achieve, we could provide you with a more specific example.

Kind regards,
Attila Antal
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Rodrigo
Top achievements
Rank 1
Answers by
Attila Antal
Telerik team
Share this question
or