:: Forum >> Version 2 >>

How do I put a cell in edit mode automatically?

I have an editable column. The first time the user tabs to a cell, the cell is in edit mode and the user can make an entry.

Then the user uses the down arrow to go to cell below in the same column in the next row. The problem is that cell must be clicked before it is put in edit mode and the user wants it work like Excel where they can immediately make an entry.

Any ideas?

thanks
Max
Max
Thursday, June 19, 2008
You can start editing of the current cell with the startCellEdit() method -

obj.setCellEditable(true);

function 
startEdit(){
    
this.setTimeout(function(){
        
this.startCellEdit();
    });
}

obj.onCurrentColumnChanged startEdit;
obj.onCurrentRowChanged startEdit;
 
Alex (ActiveWidgets)
Saturday, June 21, 2008



This topic is archived.

Back to support forum

Forum search