I have the following toolbar template:
I include it as follow in my grid:
But I also want the following buttons to be part of it:
How do I combine the 2, I have tried various ways, but to no avail. I also have a similar situation with the rowtemplate where I want to include the buttons for edit and destroy.
I have to add that I am pretty new to kendo and I looked at the available documentation but I cannot find an answer. Any help would be appreciated.
<
script
type
=
"text/x-kendo-template"
id
=
"template"
>
<
div
class
=
"toolbar"
style
=
"float: left"
>
<
label
class
=
"customers-label"
for
=
"customers"
>Filter details by customer:</
label
>
<
input
type
=
"search"
id
=
"customers"
style
=
"width: 150px"
/>
</
div
>
<
div
class
=
"toolbar"
">
<
label
class
=
"shops-label"
for
=
"shops"
>Filter details by shop:</
label
>
<
input
type
=
"search"
id
=
"shops"
style
=
"width: 150px"
/>
</
div
>
</
script
>
rowTemplate: kendo.template($(
"#rowTemplate"
).html()),
toolbar: [{ name:
"create"
},{ name:
"save"
}, { name:
"cancel"
}],
I have to add that I am pretty new to kendo and I looked at the available documentation but I cannot find an answer. Any help would be appreciated.