Hello,
I'm trying to solve problem with rendering objects, I've found a solution using custom template for field.
My code:
$interprets = new \Kendo\UI\GridColumn();
$interprets
->field('interprets')
->template('#
var template = "<ul>";
for (var i = 0; i < interprets.length; i++) {
template = template + "<li>" + interprets[i].contact.name+ "</li>";
}
return template + "</ul>";
#')
->title('interprets');
But the result is not what I expected, it can be seen on screenshot attached.
Can you please tell me, how to solve this issue?
Thanks a lot