I have a "view" that is binded to a viewmodel, what i want is reset that viewmodel whenever i click the backbutton and then re-initialize/re-bind it again so the values are cleared.
I followed the documentation for MVVM
http://docs.kendoui.com/getting-started/mobile/mvvm
and i used the data-show attribute to call a function that clears my viewmodel but it doesnt work.
I followed the documentation for MVVM
http://docs.kendoui.com/getting-started/mobile/mvvm
and i used the data-show attribute to call a function that clears my viewmodel but it doesnt work.