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

Display button to get details

1 Answer 81 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Emil
Top achievements
Rank 1
Emil asked on 10 Jun 2016, 01:09 PM

There is a display button in the right bottom corner of my grid, its inactive right now, I would like to be able to make that active when you click a row and then you could click it to download via a link with the id in the link.

I just didnt find any examples of this or how to activate it and what events to use with it, do you have any demos of this ?

Currently I have a button on a tab that opens when you click the > infront of each row.

 

Regards,

Emil

 

1 Answer, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 10 Jun 2016, 08:10 PM
Hello Emil,

We have some demos in our documentation which illustrate the different approaches you can take.  

For example:

1.  You can make your Grid selectable, and when the Change event is fired, you can enable the button.
2.  When the button is clicked, you can use dataItem() and select() to get the data from the selected row.

Specifically, you can see how dataItem and select work in this demo. 

Hopefully, this will help steer you in the right direction.

Regards,
Patrick
Telerik
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Grid
Asked by
Emil
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or