Editable cells and formatting
Hi,
In editable cells on user input by default text remains unformatted and data gets nullified. We tried to fix this using :
this.setCellText(this.getCellFormat(col, row).dataToText(text),col, row);
this.setCellData(text,col, row);
But if we do this in onCellEditEnded callback function it has some side effects - basically editing with keyboard / arrow keys stops working and mouse clicks are needed before editing the cells.
If we do this on onCellValidated function things work fine. I wanted to know is this approach right and why does it not work in onCellEditEnded
function.
Regards
Girish
In editable cells on user input by default text remains unformatted and data gets nullified. We tried to fix this using :
this.setCellText(this.getCellFormat(col, row).dataToText(text),col, row);
this.setCellData(text,col, row);
But if we do this in onCellEditEnded callback function it has some side effects - basically editing with keyboard / arrow keys stops working and mouse clicks are needed before editing the cells.
If we do this on onCellValidated function things work fine. I wanted to know is this approach right and why does it not work in onCellEditEnded
function.
Regards
Girish
Girish Khemani, Fidelity India
May 3,