Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82387

Sticky container

$
0
0

I have a layout grid with two columns. On the left side are input controls and on the right side is a graph. The page is longer then the browser window. I would like that when you scroll down the graph also moves down (like a sticky navigation).

I tried this using the bootstrap affix plugin (http://getbootstrap.com/javascript/#affix). Putting the attributes 'data-spy="affix" data-offset-top="60" data-offset-bottom="200"' on the div of the chart and including bootstrap and jquery as external library on the widget. You can see my changes in https://github.com/JAM-IT-NL/ChartJS/tree/master/src/ChartJS/widgets/AffixBarChart.

Is there any way I can get this working within Mendix? Or maybe another solution to achieve the same result?


Viewing all articles
Browse latest Browse all 82387

Trending Articles