You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

select single with table collection template not showing data

Summary:

Hi Experts

I want to use collection template table in the select single component but the data is not showing up when i click on the select single component, please help me what s wrong here. I'm calling public workers fusion rest api here

<oj-select-single label-hint="Person Name" id="id-fusion-personname"          value="{{ $variables.vCurrent.person_id }}" data="[[$variables.publicWorkersListSDP]]"          item-text="DisplayName" on-value-item-changed="[[$listeners.idFusionPersonnameValueItem]]">          <template slot="collectionTemplate" data-oj-as="collection">            <oj-table scroll-policy="loadMoreOnScroll" data="[[ collection.data ]]"              columns='[{"headerText":"Name","field":"DisplayName"},{"headerText":"Person Number","field":"PersonNumber"}]'              selected.row="[[collection.selected]]" current-row="{{collection.currentRow}}" style="height:40vh"              on-oj-row-action="[[collection.handleRowAction]]">              <template slot="cellTemplate" data-oj-as="cell">                <oj-highlight-text text="[[String(cell.data)]]" match-text="[[collection.searchText]]">                </oj-highlight-text>              </template>            </oj-table>   

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!