:: Forum >>
pb of scrollIntoView(14);
yes we can view the selected row ( function setSelectionIndex() )
but scrollbar is not correct (top instead bottom)
any idea?
Example (selection index 14)
obj = new Active.Controls.Grid;obj.setId("grid1");
obj.setRowProperty("count", 15);obj.setColumnProperty("count", 5);
obj.setColumnProperty("text", function(i){return columns1[i]});obj.setDataProperty("text", function(i, j){return data1[i][j]});
obj.setSelectionProperty("multiple", false);
obj.setSelectionIndex(14);
obj.setAction("selectionChanged", message);
document.write(obj);
scrollIntoView(14);
obj.element().focus();
Thierry
Monday, June 27, 2005
This topic is archived.
Back to support forum
Forum search