Skip to Main Content

Refresh individual list item in af:listView

WP v.2Sep 18 2020 — edited Sep 22 2020

Hey all,

I have an af:listView with many af:listItems but all the items are independent from one another (i.e. changes are isolated and don't span across multiple listItems). Right now when data changes in any particular listItem, I have to refresh the entire listView for the change to show. This seems wasteful, is there a way to only refresh ONE particular listItem, instead of the whole listView?

Here's what I've tried but to no avail.

1. Adding a partial trigger on the listItem

2. Adding partial triggers on the components within the listItem

3. Using javascript to target an individual listItem to refresh

          var listItem = AdfPage.PAGE.findComponentByAbsoluteId('the-list-item-id');

          AdfPage.PAGE.addPartialTargets(listItem );

I'm using Jdev 12.2.1.4.

Thanks,

Bill

Comments
Post Details
Added on Sep 18 2020
6 comments
85 views