Grid custom toolbar button View Details popup

3 posts, 0 answers
  1. SAIF
    SAIF avatar
    3 posts
    Member since:
    Dec 2014

    Posted 02 Jan 2015 Link to this post

    Hi ,
           I have a  KENDO UI grid with a toolbar  buttons in this order with "EDIT" ,"EMAILS".  My requirement is user should be able to click on the grid ROW and select on of these buttons to Edit or EMAILS. I some how made the EDIT option working with a pop up with crud operation but I AM NOT ABLE TO MAKE THE EMAILS BUTTON WORK. How can i make the EMAILS button show up a pop up with a grid on the popup with details from the toolbar. ??
    Please let me know if you need more info
    Thanks in advance
    Saif
  2. SAIF
    SAIF avatar
    3 posts
    Member since:
    Dec 2014

    Posted 05 Jan 2015 Link to this post

    Resubmitting the question. Any ideas ?? thanks !!!.
  3. Kendo UI is VS 2017 Ready
  4. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 06 Jan 2015 Link to this post

    Hi SAIF,

    Did you checked this demo page: http://demos.telerik.com/kendo-ui/grid/custom-comman?

    It shows how to open a window and display the record details. In your scenario the implementation should be similar, the difference is that the button is located in the ToolBar so you should hook up to its click event manually via jQuery. Also to get the dataItem you should use the currently selected row. For example:
    var dataItem = grid.dataItem(grid.select());


    Regards,
    Alexander Valchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top