Webix-jet : hide/show views rather than destroy/regenerate html views

Hi

my single page webix-jet webapp contains

  • a left sidebar
    • link to view A (dataview + complex filters)
    • link to view B (datatable …)
  • a right container, showing view A or B.

When clicking on view A or B, the view itself is completely regenerated (html) each time. So, i need to “remember” (localstorage ?) the state of each view to sort/filter everything and implement something with ready() and urlchange().

Is there a way to simply hide/show view A and B rather than coding save/restore view settings ?

i.e

  1. generate HTML if it’s the first display of a view
  2. hide rather than destroy the view A when switching to view B
  3. show view A rather than regenerate it when switching from view B to A.

Hope my english is understandable :wink:

Switching to a save/restore view settings (with the help of urlChange() ) approach.