a3-rev2 EditorGrid ds.removeAll bug - Ext JS

invoking ds.removeAll method after edit cell value, there is error: r has no properties

call stack:

onEditComplete
createSingle()
fire()
fireEvent()
completeEdit(undefined)
stopEditing()
refresh(undefined)
onClear()
fire()
fireEvent()
removeAll()
  # 2  
03-12-2007, 01:48 PM

I experience the ds.removeAll() to randomly fail and still fire the clear-event.

As I have not figured out WHY it fails I cant really show you anything.

But it works nicely in alpha2
  # 3  
03-12-2007, 09:01 PM

yes, this is new bug in a3 rev2
  # 4  
03-12-2007, 11:02 PM

This may be related to another condition and be fixed in the next rev. However, in general modifying the data store in the middle of an edit operation is a bad idea. You may be able to solve the problem by defering the removeAll() call.

你可能感兴趣的:(ext,idea)