Forum Discussion
Auto Scrolling Table
Hi,
We have implemented something similar for our Timeline Slicer visual.
If you use d3 selections, you can try to get HTML node from a selection and set scrolling properties as "scrollLeft" for instance.
You can find an example of the code here
https://github.com/Microsoft/powerbi-visuals-timeline/blob/master/src/visual.ts#L1527
Kind Regards,
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
[email protected]
- Anonymous7 years agoNot applicable
- v-evelk7 years agoMicrosoft Employee
Hi,
You can see how it works here.
Also you can download a standard Timeline Slicer report form the store.
Then you need to reduce visual size, select one of the last granulas and enable option "Scroll position auto adjustment" and save the report. After reload of the report you will see that horizontal scrolling position was shifted to the selected granulas.
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
[email protected]- Anonymous7 years agoNot applicable
Thank you v-evelk
That is nice, but not what I am after.
I want a table to scroll automatically, when the tab/page is opened. No human interaction what so ever.
Cheers!
A