Hello @Siarhei @Maksim_Lakatkou @ArtyomBorisevich
https://snippet.dhtmlx.com/fmoz3hzk
I’m trying to update an icon conditionally on an onClick event, but the change isn’t being reflected in the UI.
Could you please explain why this is happening?
My goal is to dynamically update the icon_select array and have the updated icon reflected immediately after a click.
For different events, I want to display different icons based on statusSelect. For example, if the status is freeze or free, clicking the freeze icon for a particular event should toggle it to the free icon (and vice versa).
Thanks.