Horizontal scroll bar to start from right side
How to set the position of the horizonatal scroll bar to start it from right hand side when the grid is loaded...
Ravindra Joshi
August 11,
<script>
var obj = new AW.UI.Grid;
obj.setCellData(function(col, row){return col + "." + row});
obj.setHeaderText("header");
document.write(obj);
window.setTimeout("InitialScrollPOS();", 400);
function InitialScrollPOS(){
obj.setColumnCount(54);
obj.setRowCount(150); //real rows
obj.setCurrentColumn( obj.getColumnCount()-1);
obj.refresh();
}
</script>
This topic is archived.
ActiveWidgets is a javascript library for creating user interfaces. It offers excellent performance for complex screens while staying simple, compact and easy to learn. Deployed by thousands of commercial customers in more than 70 countries worldwide.
Copyright © ActiveWidgets 2021