:: Forum >>

How to set a value in a column that is edited.

Hi,
When the user edits a column value , i am doing some manipulations and i want to reset the same column value which was edited.Well the grid hangs after setting the value due to the following code grid.getCellTemplate(column, row).refresh();. I doubt that the refresh method causes the grid to hang(in the sense you will not be allowed to edit the columns). Please provide me with ideas to fix this or please get me some thoughts about setting all the editable columns to blank without making the grid to hang.

Thanks,
Muthuswamy.S
Muthuswamy.S
Wednesday, November 15, 2006
You can call setCellText() method from inside onCellTextChanging/Changed but you should be careful to make infinite loop. Do not call refresh() - the value will be updated when the event handler exits (in AW 2.0.1).
Alex (ActiveWidgets)
Thursday, November 16, 2006

This topic is archived.


Back to support forum

Forum search