i want to make popup editor with additional field, look it :
script grid kendo :
script form popup :
So the problem is popup editor can't showed, why?
Thank,
script grid kendo :
....
editable: { mode: "popup", template: kendo.template($("#popup_editor").html()) },
height: 450, filterable: true, sortable: true, pageable: true,
toolbar: [{text: "Add data", name: "create"}],
columns: [
{ field: "name",title: "Name", filterable: true },
{ field: "dtcreate",title: "Date create", filterable: true },
{ command: [{text:"Edit", name:"edit"}, {text:"Delete",name:"destroy"}], title: " ", width: "160px" }
]
<
script
id
=
"popup_editor"
type
=
"text/x-kendo-template"
>
<
div
class
=
"k-edit-label"
><
label
for
=
"name"
>Name</
label
></
div
>
<
input
type
=
"text"
class
=
"k-input k-textbox"
name
=
"name"
data-bind
=
"value:name"
>
<
div
class
=
"k-edit-label"
><
label
for
=
"publish"
>Publish</
label
></
div
>
<
input
type
=
"text"
class
=
"k-input k-textbox"
name
=
"publish"
data-bind
=
"value:publish"
>
<
div
class
=
"k-edit-label"
><
label
for
=
"dtcreate"
>Date Create</
label
></
div
>
<
input
type
=
"text"
name
=
"dtcreate"
data-type
=
"date"
data-bind
=
"value:dtcreate"
data-role
=
"datepicker"
/>
</
script
>
So the problem is popup editor can't showed, why?
Thank,