How to show custom properties inside data-column?

cancel
Showing results for 
Search instead for 
Did you mean: 
deny7
Active Member

How to show custom properties inside data-column?

Jump to solution

Hi,

I'm trying to show my custom property ts:remark which is part of type ts:document inside <data-column> which is surrounded by <adf-document-list>. But I can't achieve it. I doesnt bind data. How can I access my custom properties? Thanks.

My document list component html code:

<adf-document-list

  #documentList

  currentFolderId="-root-"

  (preview)="showPreview($event)">

  <data-columns>

    <data-column key="$thumbnail" type="image"></data-column>

    <data-column title="Name" key="name" sortable="true" class="full-width ellipsis-cell"></data-column>

    <data-column title="Remarks" key="document.remark" sortable="true" class="desktop-only"></data-column>

  </data-columns>

</adf-document-list>

SEE PICTURE

1 Solution

Accepted Solutions
deny7
Active Member

Re: How to show custom properties inside data-column?

Jump to solution

Ok, the problem was in the format. Right format is key="properties.ts:remark".

View solution in original post

1 Reply
deny7
Active Member

Re: How to show custom properties inside data-column?

Jump to solution

Ok, the problem was in the format. Right format is key="properties.ts:remark".