3.2.0

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,
Based on this post:
/javascript.forum.8639.3/v2-0-setting-default-sort.html

You can do something similar using 'seCurrentColumn'.
HTH
<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>
Carlos
August 11,

This topic is archived.

See also:


Back to support forum