i have a javascript view with two div’s inside. One should be a header div and the other a content div.
I try to prevent the header div from scrolling.
If i run the javascript view in KNIME local everything is fine, the header div stays always on top even when scrolling the content div.
If i deploy it to KNIME Server it did not work anymore.
Hi,
That is because when the view is embedded in a component or the WebPortal it actually lives in an iFrame that scrolls. You can give the content-class a fixed height and set overflow: scroll to have the header fixed.
Kind regards,
Alexander
another question about the iFrame.
Why is the default iFrame so big? The height is much bigger than the content height. Can i set a fixed height to the iFrame?