Upon creation of grid, go to certin row.
If i have a number like 150, how do i go to this row during the creation of a grid, so the user does not have to scroll down to this item?
Joe
August 5,
var obj = new AW.UI.Grid;
obj.setCellData(function(col, row){return col + "." + row});
obj.setHeaderText("header");
obj.setColumnCount(10);
obj.setRowCount(1000);
obj.setSelectionMode('single-row');
document.write(obj);
// select row 150 and scroll into view
obj.setTimeout(function(){
this.selectRow(150);
}, 1000);
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