This demonstration shows how you can manually reinitialise jScrollPane when new content is added to it. Every second we add a new line of content to the scrollpane (using the getContentPane API method) and then reinitialise the scrollpane. As the maintainPosition setting is true by default then the position of the scrollpane is maintained even if we are scrolling while the update happens.
The contents of this div will be replaced by the javascript added to this page
The contents of this div will be replaced by the CSS added to this page