Enter Edit Mode After Selecting A Cell
After selecting a single cell in this fashion:
obj.setSelectedColumns([3]);
obj.setSelectedRows([3]);
How would I automatically enter Edit mode?
ericj
December 5,
Alex:
The means you gave me for editing a cell on click is as follows:
obj.onCellClicked = function(event, col, row){
this.raiseEvent("editCurrentCell", event, col, row);
}
This sets the onCellClicked property for the entire object. In my scenario, I need to enter edit mode on an ad hoc basis for a single cell, that is, not globally, but serially.
So I would select a cell with:
obj.setSelectedColumns([3]);
obj.setSelectedRows([3]);
How would I then enter edit mode in Cell(3,3) ?
Thanks much.
ericj
December 13,
Try:
obj.setCurrentColumn(col);
obj.setCurrentRow(row);
obj.raiseEvent("editCurrentCell", event, col, row);
Ankur
Ankur Motreja
December 13,