cancel
Showing results for 
Search instead for 
Did you mean: 

How to show custom properties inside data-column?

deny7
Champ on-the-rise
Champ on-the-rise

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 ACCEPTED ANSWER

deny7
Champ on-the-rise
Champ on-the-rise

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

View answer in original post

1 REPLY 1

deny7
Champ on-the-rise
Champ on-the-rise

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