How to set table heading dynamically in angular 2?
问题 I am getting JSON data and I am storing JSON data on my property. this.ResultData_search=data.json().extras.ResultData this.ResultData=[ { "First_name": "xx", "Email": "xxxx", "Phone": "xxx", "countryCode": "+91", "order_datetime": "xxx", "status": 11, "DeviceType": 3, "orderId": "59081a04c9ff6852a49dd32a", "orderseqId": "E00002347", "orderType": 1, "CustomerID": "xx", "pickAddress": "xx", "dropAddress": "xx", "pickLatitude": 17.4369414, "dropLatitude": 17.43673, "dropLongitude": 78