-
29 Dec 2011 2:25 PM #1
Beta 1 - GridInlineEditing BeforeStartEditEvent never fires
Beta 1 - GridInlineEditing BeforeStartEditEvent never fires
Looking at the source it seems that the event is created but never fired...
From GridInlineEditing.java
Code:public void startEditing(final GridCell cell) { ignoreBlur = false; if (getEditableGrid() != null && getEditableGrid().isAttached() && cell != null) { ColumnConfig<M, ?> c = getEditableGrid().getColumnModel().getColumn(cell.getCol()); M value = getEditableGrid().getStore().get(cell.getRow()); // editable if (value != null && getEditor(c) != null) { CancellableEvent ce = new BeforeStartEditEvent<M>(cell); if (ce.isCancelled()) { return; } cancelEditing(); ignoreScroll = true; getEditableGrid().getView().ensureVisible(cell.getRow(), cell.getCol(), true); Scheduler.get().scheduleDeferred(new ScheduledCommand() { @Override public void execute() { doStartEditing(cell); } }); } } }Last edited by dierp; 29 Dec 2011 at 2:25 PM. Reason: typo
-
29 Dec 2011 11:02 PM #2
This is already fixed in SVN and will be in the next release
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote