Hi
I have below Typescript for columns. I want to display data in Dynamic Table Component.
this.columns = [
// { title: "Id", name: "empId" , visible: true },
{ title: "Name", name: "empName" , visible: true },
{ title: "Email", name: "empEmail" , visible: true },
]
Below is the Data
: {empId: 1512, empName: 'Mark1', empContactNo: '6754673254', empAltContactNo: '8762347483', empEmail: '[email protected]', …}
{{ element[item.name] }}
Thanks
Ramco RamcoPosted Jul 5, 2024, 4:23 AM
Hi Vishal
Resolved.
Thanks
Vishal JoshiPosted Jul 4, 2024, 9:09 AM
Hello,
Can you share the whole component code. because I don't see matCellDef directive here in this code.
Or else share the detail about error to identify the issue.
Thanks