0

I would like to have a view with a Grid and a List tab (view displays) in Drupal 8.

The URL should not change and the filter and pagination values should also be maintained when switching between them. Moreover, the tabs' content should load instantly with ajax.

I have tried the 'Link to display' element in header, but this does not act as ajax tab and requires a display with its own path.

I have also tried the Quick tabs module (8.x version) and created a panel page for the news page with a quicktab block showing the 2 view page displays as ajax tabs. But then, I could not maintain the exposed filters and pagination values when switching between the tabs.

My view displays use ajax so the exposed filter values are not rendered in the URL.

Any suggestions on how could I render view displays as ajax tabs?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.