'Set active tree node with ID from server

On a button click I want to set active tree node with an ID. Data is loaded from server.

In documentation demos there is this example with activateKey but the data is client-side loaded not from server. I haven't found any other demo.

In activateKey definition there is no explanation about how to use it in case of server-side data.

Is it possible to set active node with id when data is loaded from server?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source