adding search box to Hotel Room Reservation Calendar sample

hi!
I’m developing meeting room management system like Hotel Room Reservation Calendar sample.
(dhtmlx.com/docs/products/demoAp … l5-js-php/)
each events may have a field of subscriber name.
I’d like to add serach box to the view for searching events by subscriber name.
please provide any advices or samples.

thanks in advance.


Hi,

You can implement it using filtering events.
In contrast to the sample you can find on the page, you should add an input element into the page, check oninput() when user types event’s subscriber name and refresh view to update displayed events.

Here is an example how to filter events based on ev.text.
docs.dhtmlx.com/scheduler/snippet/1fb707c0

The previous answer was quite a long time ago, and the attached snippet is deprecated. There is another example of how it might be implemented with the ev.text property:
https://snippet.dhtmlx.com/5x1ny4b1 ;