The feature column doesn't get populated unless I pull the name up to the root level of the object. I expected to be able to access properties of object types since this works when used within a DataTable.
Code: Select all
<p-treeTable [value]="treeNodes" selectionMode="single" [(selection)]="selectedTreeNode" (onNodeExpand)="nodeExpand($event)" (onNodeSelect)="onNodeSelect($event)" > <header>Object Model</header> <p-column field="objectName" header="Object Name"></p-column> <p-column field="feature.Name" header="Feature"></p-column> <p-column field="shortDescription" header="Description"></p-column> </p-treeTable>
Is this something I'm doing wrong, a bug, or just not designed to work this way?