Webix + angularjs datatable from contoller -


i have problem, because datatable empty, data doesn't binding.

html:

<div id="usersformdiv" ng-controller="admincontroller">      <div webix-ui="usersgrid"></div> </div> 

controller

$scope.usersgrid ={     view:"datatable",     id:"usersgridwebix",     autoconfig:true,     select:"row",     data : [         { id:1,"lp":1, "name":1994,"surname":678790,"email":"xxx@xp.pl","organ":"ogran","location":"lokalizacja 1, lokalizacja 2"}     ],     columns:[         { header:"lp", id:"lp", width:50},         { header:"imiÄ™", id:"name", width:50},         { header:"nazwisko", id:"surname", width:100},         { header:"email", id:"email", width:150},         { header:"organ", id:"organ", width:100},         { header:"lokalizacja", id:"location", width:150}     ]    // url: "./app/model/users.json"  }; 

please help.

with webix-ui attribute in div use webix-data="data" put $scope.data = { id:1,"lp":1, "name":1994,"surname":678790,"email":"xxx@xp.pl","organ":"ogran","location":"lokalizacja 1, lokalizacja 2"}

i have same problem, fixed using way, more details refer:-

http://docs.webix.com/desktop__angular.html


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -