Html ScrollView
Invoke the refresh method of the jqxScrollView. Author: http://jqwidgets.com
by jqwidgets
HTML
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id="view">
<div style="color: white; background: blue;">Item 1</div>
<div style="color: white; background: red;">Item 2</div>
</div>
<div>
<input style="margin-top: 20px;" type="button" id='jqxButton' value="Refresh" />
</div>
JavaScript
$('#view').jqxScrollView({
width: 300,
height: 250,
buttonsOffset: [0, 0]
});
$("#jqxButton").jqxButton({
height: '30px',
width: '120px',
theme: 'energyblue'
});
$('#jqxButton').on('click', function () {
$('#view').jqxScrollView('refresh');
});