We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Scrollbar on top

Resolved
James asked on February 4, 2020

Hi,
I need to put an horizontal scrollbar on top of table as well as below.
I've find this fiddle: http://jsfiddle.net/TBnqw/1/ but to work I need to know lenght of scroll panel.
 
Is there a possibility to know this value?
 
 
Thanks
Andrea

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster February 5, 2020

Hello, Andrea,
 
Thank you for your question.
 
We would like to kindly inform you that due to specifics of the rendering process of the component, it can be hard to implement an additional scrollbar. However, we would like to provide information that can be helpful for your investigation:
 
The width of the scroll panel can be accessed by the following code:

document.querySelector('#fm-data-sheet > div > div.fm-ui-element.fm-scroll-placeholder');

 
Changes in its size can be tracked using the aftergriddraw event. More information about the event can be found by the link: aftergriddraw event.
 
We hope it helps.
 
Best regards,
Illia

Please login or Register to Submit Answer