我必须创建一个基于 Json 数据的未定义列的网格,
[{
Name: "John",
Designation: "Analyst",
Age: 25,
Department: "IT"
},
{
Name: "Matthew",
Designation: "Manager",
Age: 38,
Department: "Accounts"
},
{
Name: "Emma",
Designation: "Senior Manager",
Age: 40,
Department: "HR"
}];
我想要的输出如下:
作为标题:
Name | Designation | Age | Department
作为数据行:
John | Analyst | 25 | IT
请任何人帮助我如何开始以及如何做。