Dynamically loading columns and data in to table in Angular 2

后端 未结 7 891
醉话见心
醉话见心 2020-12-19 09:18

I have an HTML page in which I want to create a table. The columns in this table are dynamic which means that they are fetched from the server into a variable in the compone

7条回答
  •  萌比男神i
    2020-12-19 09:53

    My Solution for this problem is Write This Code in Html File

    Write This Code in Ts File

    提交回复
    热议问题
    {{item}}
    {{record[key]}}