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

Grid custom toolbar button View Details popup

2 Answers 263 Views
Toolbar
This is a migrated thread and some comments may be shown as answers.
SAIF
Top achievements
Rank 1
SAIF asked on 02 Jan 2015, 10:21 PM
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 Answers, 1 is accepted

Sort by
0
SAIF
Top achievements
Rank 1
answered on 06 Jan 2015, 02:07 AM
Resubmitting the question. Any ideas ?? thanks !!!.
0
Alexander Valchev
Telerik team
answered on 06 Jan 2015, 10:39 AM
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!
 
Tags
Toolbar
Asked by
SAIF
Top achievements
Rank 1
Answers by
SAIF
Top achievements
Rank 1
Alexander Valchev
Telerik team
Share this question
or