How do I get data to show up in angular ui.grid from an $http request

前端 未结 1 1722
情歌与酒
情歌与酒 2021-01-14 09:38

I am using Typescript and AngularJS. I have a template that contains a ui.grid directive.

The grid is displayed and at some later time an $http request gets the dat

1条回答
  •  攒了一身酷
    2021-01-14 10:09

    Try the following:

    
    
    
        
        
    
    
        

    If you do not want to populate the grid immediately, delete the call to

    ng-init

    and call the associated function on some other event.

    Hopefully, without knowing much more about your specific problem, this will guide you to the solution.

    Cheers.

    0 讨论(0)
提交回复
热议问题