-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
Bug report
ASP.NET Core Detail Grid ToolBar ClientTemplate cannot have multiple rows.
Reproduction of the problem
- Go to - https://demos.telerik.com/aspnet-core/grid/detailtemplate
- Add this line to the child grid -
.ToolBar(tb => tb.ClientTemplate("#=nestedTemplateFunction(data)#")) - Add this code
<script id="nestedTemplateId" type="text/kendo-tmpl"> <p> </p> </script> <script> function nestedTemplateFunction(el) { var template = kendo.template($("#nestedTemplateId").html()); var result = template(el); return result.trim(); } </script>
Current behavior
There is an error, and the Grid is not displayed.
Expected/desired behavior
The Grid is displayed.
Environment
- Kendo UI version: 2024.1.130
- Browser: [all]