Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var url = backendurl + 'article/CategoryIndex' + make_mobile_call;
  2. var ds = new kendo.data.DataSource.create({
  3.   transport: {
  4.     // read from the remote data source
  5.     read: {
  6.       url : backendurl + 'article/CategoryIndex' + make_mobile_call,
  7.       type : 'GET',
  8.       dataType : 'jsonp',
  9.       crossDomain : true                
  10.   }
  11. });
  12.  
  13. $("#uxArticleCategories").kendoMobileListView({
  14.   dataSource: ds,
  15.   template: kendo.template($('#uxArticleCategoriesTemplate').html())
  16. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement