Sorting column in table making javascript not working properly
Summary:
Sorting column in table making javascript not working properly.
I have icon for Download and Reprocess in the table that will be shown when the payoad url has ".xml" .
so when the initial run its working fine. Its showing process and download button correctly
But when I click on the sorting the icon disappears.
Content (please ensure you mask any confidential information):
Table code:
===================
<div class="oj-flex"> <div class="oj-flex" style="width: 1px; min-width: 100%;">
<oj-table scroll-policy="loadMoreOnScroll" class="oj-flex-item" columns-default.header-style="background:#8dbade; font-size:13px;" columns-default.style="font-weight:500; font-size:12px;" columns='[{"headerText":"","field":"Icon1","resizable":"enabled","template":"cellTemplate","sortable":"disabled","width":50},{"headerText":"","field":"Icon2","resizable":"enabled","template":"rowTemplate","sortable":"disabled","width":50},{"headerText":"","field":"Icon3","resizable":"enabled","template":"addRowTemplate","sortable":"disabled","width":50},{"headerText":"","field":"Icon4","resizable":"enabled","template":"addRowCellTemplate","sortable":"disabled","width":50},{"headerText":"Interface Name","field":"InterfaceName","resizable":"enabled","sortable":"enabled","width":200},{"headerText":"Created Time Stamp","field":"CreatedTimeStamp","resizable":"enabled","sortable":"enabled","width":200},{"headerText":"Business Unit","field":"Attribute2","resizable":"enabled","sortable":"enabled","width":200},{"headerText":"Oracle Reference","field":"OracleReference","resizable":"enabled","sortable":"enabled","width":150},{"headerText":"Oracle Reference 1","field":"OracleReference1","resizable":"enabled","sortable":"enabled","width":150},{"headerText":"External Reference","field":"ExternalReference","resizable":"enabled","sortable":"enabled","width":150},{"headerText":"Transaction Type","field":"BusinessTransactionType","resizable":"enabled","sortable":"enabled","width":150},{"headerText":"Status","field":"Status","resizable":"enabled","sortable":"enabled","width":100},{"headerText":"Flow Instance ID","field":"FlowInstanceId","resizable":"enabled","sortable":"enabled","width":200},{"headerText":"Payload","field":"Payload","resizable":"enabled","sortable":"enabled","width":800},{"headerText":"Sender","field":"Sender","resizable":"enabled","sortable":"enabled","width":100},{"headerText":"Receiver","field":"Receiver","resizable":"enabled","sortable":"enabled","width":120},{"headerText":"Created By","field":"CreatedBy","resizable":"enabled","sortable":"enabled","width":150}]' data="[[ $variables.AuditingTransSearchADP ]]" horizontal-grid-visible="enabled" vertical-grid-visible="enabled" display="grid" style="max-height: 520px; margin-top :10px; margin-bottom :10px; user-select :text;" title="$current.data">