I have maybe a stupid question.
I use different approaches to create my tables with prime ng. Now I am wondering about the following.
In one of my tables I'm using the dynamic column creation feature.
In my component I add the field names and one field is
Code: Select all
'object2.name'
Code: Select all
{{object1[col.field]}}
Code: Select all
'object2.name'
Now if I change my html to
Code: Select all
{{object1[col.field].name}}
Code: Select all
'name'
Code: Select all
'object2'
And at least if I use the standard approach
Code: Select all
{{object1.object2.name}}
Is this intentional or a bug? Can someone explain it to me?