wt icon indicating copy to clipboard operation
wt copied to clipboard

Handle enableAjax for WCarthesianChart when progressive bootstrap is enabled

Open cwitting opened this issue 1 year ago • 1 comments

By registering the event handlers on the enableAjax call, the interactive components of WCarthesianChart also works when progressive bootstrap is enabled.

This has not been tested in depth, but seems to fix the issue we had with interactive plots not working as described in: https://redmine.emweb.be/issues/7514

But maybe there is a better way to fix it?

cwitting avatar Jul 28 '23 13:07 cwitting

Hello,

if I apply this change, and define a wt_config.xml with progressive-bootstrap set to true, the example charts still do not function.

As indicated on the ticket, it's likely best to work around this issue by defining bootstrap-method for specific paths, disabling it on paths with charts (as can be seen in this example)

We are aware that there are issue with the bootstrap approach, but they span over a wide array of widgets. Likely something more structural will have to change there.

MatthiasVC avatar Aug 22 '23 12:08 MatthiasVC