Setting the focus in columns of Gird
I want to set the focus in column headers of the grid.
Please help me
Thanx in Advance
Please help me
Thanx in Advance
Suresh
April 5,
var obj = new AW.UI.Grid;
obj.setCellData(function(col, row){return col + "." + row});
obj.setHeaderText("header");
obj.setColumnCount(10);
obj.setRowCount(10);
obj.setHeaderTemplate(new AW.UI.Input, 1);
document.write(obj);
var button = new AW.UI.Button;
button.setControlText("Set focus to Header-1");
document.write(button);
button.onControlClicked = function(){
obj.getHeaderTemplate(1).element().focus();
}
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