ng-repeat sorting arrow not working in javascript datatables

后端 未结 2 798
忘了有多久
忘了有多久 2020-12-15 11:40

I\'m very new to AngularJs and datatables. I have a requirement to populate the data in table rows using ng-repeat. Iam able to populate the rows and enabling the sorting fo

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-15 12:33

    The example below uses AngularJs and Datatable. The filtering, pagination and sorting are working good.

    Download angular-datatable and put angular-datatables.min.js file in your project as I do in the line

    Hope this can help you.

    
        
            
            
            
               
            
    
            
            
        
        
            
    Name City Country
    {{name.Name}} {{name.City}} {{name.Country}}

提交回复
热议问题