How to reference the parent index in a nested list view

  • Goal: I have a parent list view (listView1) and a nested list view (listView2)

My goal is to have a title (in the nested list view) that provide the parent index and the child index, ex (1.0, 1.1)

Problem:

image

Within the nested list view, I am only able to reference the index of the child list view (listView2). How can I also reference the index of the corresponding parent list view (listView1)?

Hi there @pablo.estrada,

It's been a while since I use this, and I'm not sure if it works in the same way as it used to work in legacy litsViews, but you can use the {{ ri }} variable.

I made a quick test and it seems to return both the index of the parent listview and the current item. If you use {{ ri[0] }} you'll get the index only of the parent listview.

Hope this helps!!