maqetta/maqetta — Issue #1800: Remove setTimeout in DataGridHelper.updateStore
Author: jhpedemonte
Created: 2012-02-22 17:49:43+00:00
State: open
Labels: Bug, Priority Low

My comment from 578a27468179534294d614902b7475dfdb559609:

> I'm not so sure about this. In almost all cases, **using a `setTimeout` usually means we're either doing something wrong or covering over an existing bug**.

> In this case, if I remove the `setTimeout` and comment out the call to `this._reparentTheStore()` in `create()`, I don't see this bug at all.

> Something in **ReparentCommand** is causing issues later. Perhaps the fact that ReparentCommand calls `widget.startup()` and `widget.renderWidget`?