а

How to manage select state of an event


#1

I have a logic what when i click on the bar it’s becoming selected, and i want to Unselect this bar only after click on itself. But now i have a problem that every click outside this bar unselect it. I tried to catch ‘onEmptyClick’ event but it didn’t help. Thanks for any suggestions:)


#2

ahh nevermind. I did with it by adding my own ‘selected’ class. (thanks to: https://forum.dhtmlx.com/t/change-color-of-selected-event-temporarily-in-all-views/37545). Firstly i tried to work with ‘dhx_cal_event_selected’ class.

This topic can be closed:)