Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
545
WHDG: Hide/show Custom Summaries client-side
posted

Hello,

there is an option in WebHierarchicalDataGrid to enable a feature "show/hide summaries" via javascript? I have several summaries and i need a toggle button to hide/show summaries, all together, client-side.

Thanks

  • 37874
    posted

    Hi maxanziutti,

    If you have any other questions regarding the matter, please feel free to contact us.

  • 33839
    Suggested Answer
    posted

    Hi maxanziutti,

    There is no built in functionality for this, so I'd suggest creating a feature request.  But you could simply get access to the summary rows and set display:none on them dynamically.  Then you just might need to call grid.get_gridview()._onResize({clientHeight: grid.get_gridview()._element.clientHeight});

    regards,

    David Young