I tried the same . But my requirement is little different. I am doing a web service call to get all employee details. Then on selection of a particular employee means if I click a row, I want to do another web service call to get some more data which I want to display inside each row. Means on every row click I want to do another web service call and then show it in that grid using a template. In the example it is getting
<li><label>Country:</label>#= Country #</li>
<li><label>City:</label>#= City #</li>
<li><label>Address:</label>#= Address #</li>
<li><label>Home Phone:</label>#= HomePhone #</li>
data for the fields in the first call when it get employee information. In my case it is throwing an exception, since i do not have these data before I click any grid.
It works fine if i do not use a template and show all data column wise.
Regards,
Mohit
0
Daniel
Telerik team
answered on 30 Apr 2013, 10:21 AM
Hello Mohit,
In that case you could use the detailInit event to make the request and set the HTML in the request success callback. I created a jsBin example based on the demo that loads the employee territories in the detailInit event and displays them.
Regards,
Daniel
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!