Hello,
I have a scenario where want to load kendo grid in kendo window on button The button is in external template by . Please suggest something by which can close and exit/hide grid and window easily
Grid MVVM external Script:
<
script
id
=
"FeeGrid"
type
=
"text/x-kendo-template"
class
=
"KendoExtTemplate"
>
<
div
id
=
"feegridContainer"
>
<
div
data-role
=
"grid"
data-editable
=
"true"
data-toolbar
=
"['create', 'save']"
data-columns="[
{ 'field': 'FeeCurrency', 'width': 270 }
]"
data-bind
=
"source: FeeBreakup"
></
div
>
</
div
>
</
script
>
01.
<
script
id
=
"Heads"
type
=
"text/x-kendo-template"
class
=
"KendoExtTemplate"
>
02.
<
div
>
03.
<
input
data-role
=
"numerictextbox"
data-min
=
"0"
data-bind
=
"value: Gross_Fare"
>
04.
<
input
data-role
=
"numerictextbox"
data-min
=
"0"
data-bind
=
"value: TotalFee"
><
button
data-role
=
"button"
05.
data-icon
=
"edit"
06.
data-bind
=
"click: OpenFeeGrid"
07.
></
button
>
08.
</
div
>
09.
10.
</
script
>
the OpenFeeGrid , should trigger to show / hide kendo Window with Grid inside.