Pergunta

I am new to kendo ui mobile wanted to know why I am getting this specific error:

Uncaught TypeError: Cannot read property 'useNativeScrolling' of undefined

The code in the view is as follows:

   <ul kendo-mobile-list-view
    k-data-source="xyz.list"
    k-template="xyz.Template"
    k-on-click="xyz.previewList(kendoEvent)"
    k-use-native-scrolling="true"
    data-endless-scroll="true"
    ></ul>
Foi útil?

Solução

This seems like a bug we introduced in one of our releases - please try upgrading to the current one (Q1 2014 SP1).

Outras dicas

Add the latest kendo cdn.

Add this to your project.

  <script src="http://cdn.kendostatic.com/2014.1.318/js/kendo.all.min.js"></script>

I solved this problem with this latest cdn

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top