Categories | Question details Back To List | ||
Clearing the default cell content on click Hi I have default cell content which i need to clear as soon as the cell is clicked and editor is opened. If i set the value of the cell to blank in setOnEditCellHandler(), the editor gets closed with the new value set to blank. I want the editor to remain open for the user to enter values. Answer posted by Support on Jan 14, 2008 08:40 There is no common solution, but for basic editor ( txt,ed ) it can be done as grid.attachEvent("onEditCell",function(stage,id,row){ if (stage == 1 && this.editor) this.editor.obj.value=""; return true; }) |