[Vuejs]-Databind for grid is not rebinding when order of data changes

0👍

To increase performance, I think you should filter list before render.

Ex:

computed: {
   monitoringProtocol() {
    return protocol.filter (item => hasAccess(protocol.ProtocolID,'Monitoring Status')
   }
}

Template:

<tbody>
    <div v-for="(monitoringProtocol, index) in filterList" v-bind:key="index" class="data-row">
        <MonitoringStatusListItem  class="data-row" :protocol="protocol" />
    </div>
</tbody>

Leave a comment