To update the object that keeps track of what’s visible and what’s hidden (when you change tabs), you should use these functions.
Hide fields:
spjs.dffs.hideFieldsByRule(["Field1","Field2"]);
Unhide fields:
spjs.dffs.unhideFieldsByRule(["Field1","Field2"]);
Toggle headings or HTML elements by their Unique ID:
// first parameter is the elements to make visible, second is the elements to hide
spjs.dffs.dffsToggleHeadings("heading1,HTMLelement1","heading2,HTMLelement2");
Alexander