Hello,
It seems to be possible to create via gantt.createDatastore() a second store named after gantt.config.resource_store, the same as a previously-existing one, instead of replacing the latter!
The consequence is that, after wiping out data via gantt.clearAll() and filling the new store with fresh data, then, upon refreshing said resource store, the “resourceGrid” and “resourceTimeline” are emptied, probably because dhtmlxGantt uses the 1st one named gantt.config.resource_store in the list of stores as the resource store instead of preventing several stores to be named equally.
Since stores can be retrieved by their name those should be used as unique identifiers and thus we have lost a lot of time realizing that there was possibly a bug there…