Returning to non-primary tab on a tabsheet after datagrid actions on it

Jmix version: 2.3.0
Jmix Studio plugin version: 2.3.0-241
IntelliJ version: IntelliJ IDEA 2024.1.3 (Community Edition)

I have a StandardDetailView for an editor view organised with a Tabsheet.

The additional tabs house related child lists on dataGrids.

The problem is when doing a save or cancel then editor view returns to the first tab containing the form, how can I return to the specific tab where the grid is that I am editing please.

Thanks in advance for any help.

One way of doing this is to reflect the selected tab in the URL.

You can find an example in the Bookstore app: https://demo.jmix.io/bookstore/customers

Take a look at the source code of this view. It uses a custom binding for the urlQueryParameters facet.

Regards,
Konstantin

1 Like