Remove Item Error in Tree Widget while using Autoload feature

If I try to remove an TreeCollection Item, which was autoloaded by the tree autoload feature, I get the following Error:
Uncaught TypeError: n.items.filter is not a function

Example:

const tree = new dhx.Tree("tree", {
    autoload:"https://docs.dhtmlx.com/suite/backend/autoload"
});

tree.data.load("https://docs.dhtmlx.com/suite/backend/autoload/?id=tree");

// Now open "Books" and "Thrillers" in the Tree Widget.
// If you remove the Item "Ian Rankin", you get the Error.

tree.data.remove("Ian Rankin");

Uncaught TypeError: n.items.filter is not a function
   _removeCore https://cdn.dhtmlx.com/suite/pro/edge/suite.js?a1781515883879:12
   _remove https://cdn.dhtmlx.com/suite/pro/edge/suite.js?a1781515883879:12
   remove https://cdn.dhtmlx.com/suite/pro/edge/suite.js?a1781515883879:12

Hello Czeslaw,

Thank you for the detailed description of the issue. It seems to be an issue on our end, thank you for noticing. I already sent it to the dev team, and they will consider the best approach to fix it. I will notify you of any updates on this case.

Warm regards,

1 Like

Hello Czeslaw,

The dev team fixed the issue with “autoload” feature in the latest release:

You can test it in the following demo:

Warm regards,

1 Like

Hello,

Thank you for fixing this so quickly.
However, I can’t see a download option for version 9.3.5 in the Client’s Area.
I have free updates until 15 January 2027.

I’ve also noticed that there is no entry for version 9.3.4 in the ‘What’s new’ section of the documentation.

Hello Czeslaw,

The unavailability of `9.3.5` in the client area was an issue on our end - sorry for the inconvenience.
It should already be available in the client area(if not, please contact us through info@dhtmlx.com).

Regarding the 9.3.4 What’s new - that was a technical release that doesn’t contain any features or bugfixes, so it wasn’t mentioned in the What’s new section.

Warm regards,

1 Like