Display button to get details

2 posts, 0 answers
  1. Emil
    Emil avatar
    46 posts
    Member since:
    Mar 2016

    Posted 10 Jun 2016 Link to this post

    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

     

  2. Patrick
    Admin
    Patrick avatar
    237 posts

    Posted 10 Jun 2016 Link to this post

    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.
     
Back to Top