Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
udaya_kumar
Specialist
Specialist

If i move scroll bar in one table, then other table scroll bar should move

Hi,

i have two straight tables.

In that, there is one horizontal scroll bar, so if i move scroll bar in one table, then it should reflect in other table scroll bar.

Is it possible to do it?

7 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Unfortunately, I dont think this is possible as there is no API function or event to detect changes to or the values of the current scroll position.

Regards

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
IAMDV
Luminary Alumni
Luminary Alumni

Hi,

I agree with Jonathan. I had this request in the past and I had explored QV API, but I couldn’t find anything to control the scroll position. However, I had overcome this by creating custom slider object with the variables.I had got this working with multiple charts and it works fine.

I’m attaching the example and I hope this helps!

Cheers - DV

udaya_kumar
Specialist
Specialist
Author

Thanks DV,

For giving Suggestion.

Not applicable

Very slick DV - how did you achieve it?

Regards,

Gordon

IAMDV
Luminary Alumni
Luminary Alumni

Thanks Gordon. I'm glad to see your comment.

I'll make a video post on step-by-step process on how to get it working. I'll update here once it's ready.

Thanks,

DV

www.qlikshare.com

everest226
Creator III
Creator III

I went to your blog but could not find step by step guide.

VadimCosman1
Contributor II
Contributor II

Hi guys, 

It is a super old problem, but I faced it recently, and thought may be helpful to update with my solution.
What I can suggest is:
1. Extend both charts/tables to the max width and put them in a container, then the user has only one scroll bar which scrolls both elements.

2. In my case the values displayed in the table are adjusted by the filters. If the user doesn't apply any filter, he/she will have to pick the [app scroll bar] and drag it to the right/left. If he/she applies a filter, the table will become smaller.

Maybe for someone these solution will appear weird, but this worked for me, and hope that it can help anyone else.