Premium support for our pure JavaScript UI components


Post by yuriv »

Hi. AFAIU, now editor components are never get actually dismounted once mounted. At least I see that editor component keeps it's state between being opened for different cells. Correct me if I'm wrong. Anyway, this behavior creates annoying side-effects and makes some features quite tricky to implement.

For example, if I want to render in my component a dropdown with defaultOpen=true, on first render it works as needed, but on subsequent renders it's not opened because it's actually the same dropdown which already was once "default open" and now it's closed. Workaround for this is quite hackish and I'd really prefer to keep it more conventional.

I don't see a reason not to remount react editors each time. As there is always only one active editor, performance is not an issue. Please, add this config setting to your backlog.


Post by saki »

I'm not quite sure what are you referring to. This demo: https://bryntum.com/examples/scheduler/react/javascript/custom-event-editor/build/index.html? Or React cell-editor like in this demo: https://bryntum.com/examples/scheduler/react/javascript/simple/build/index.html?

Let us please know the version too because there are substantial changes between 4.0.x and 4.1.x (beta).


Post Reply