Hello, I have nested kendo so at inner most the code for kendo numeric is as below :
The Gross_Fare and Fee.TotalFee doesnt get binding programatically using set() . The values in viewModel from controller gets set in template but i am not able to change value using set() and ViewModel doesnot get updated if value changed from UI
<
script
id
=
"CustomerHeadsT"
type
=
"text/x-kendo-template"
class
=
"KendoExtTemplate"
>
<
div
>
<
input
data-role
=
"numerictextbox"
data-bind
=
"value: Gross_Fare"
>
<
input
data-role
=
"numerictextbox"
data-bind
=
"value: Fee.TotalFee"
data-value-update
=
"keyup"
> <
button
type
=
"button"
data-role
=
"button"
data-icon
=
"edit"
data-bind
=
"click: OpenCustomerFeeGrid"
></
button
>
<
div
data-role
=
"window"
id
=
"CustomerfeeWindow"
data-title
=
"Customer Fee Breakup"
data-modal
=
"true"
data-width
=
"300"
data-height
=
"150"
data-visible
=
"false"
data-bind
=
"events: { open: onCustomerFeeWindowOpened, close: onCustomerFeeWindowClose }"
>
<!--<div id="FeeGridContainer" data-template="FeeGrid" data-bind="source: FeeBreakup"></div>-->
<
div
data-role
=
"grid"
data-editable
=
"true"
data-toolbar
=
"['create', 'save']"
data-columns="[
{ 'field': 'FeeCurrency', 'width': 270 }
]"
data-bind
=
"source: FeeBreakup"
></
div
>
</
div
>
</
div
>
</
script
>
The Gross_Fare and Fee.TotalFee doesnt get binding programatically using set() . The values in viewModel from controller gets set in template but i am not able to change value using set() and ViewModel doesnot get updated if value changed from UI