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
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