cancel
Showing results for 
Search instead for 
Did you mean: 
Community_Admin
Community Team Member
Community Team Member

Question

Would it be possible to add a scroll to a widget location action? So I have a top panel that has an action of: "navigate to Actions widget"?

Answer

You'll need to create a custom action and include something like: 

var elmnt = document.getElementById("content"); //The widget to scroll to
elmnt.scrollIntoView();

https://www.w3schools.com/jsref/met_element_scrollintoview.asp

 

Version history
Last update:
‎10-19-2021 01:47 AM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: