Hello again,
I have problem with the scheduler.serverList(). I can’t read data from it. I successfully configured the connector for storing and showing the data from MySQL database in my scheduler. Now I want to create the lightbox with select with options which will be added from the MySQL database. So I tried to configure it according to the example in documentation. And It’s not working. So I tried almost everything and I don’t know where could be problem.
I also tried to print the scheduler.serverList(‘name’) in console.log and it always showed me empty string.
I can confirm, that connector is configured properly, because when I visit the connector’s page it shows me:
<data>
<userdata name="version">143</userdata>
<event id="64">
<start_date>2017-03-07 00:30:00</start_date>
<end_date>2017-03-07 03:15:00</end_date>
<text>Nová událost</text>
</event>
<coll_options for="name">
<item value="1" label="Patrik"/>
<item value="3" label="Test"/>
</coll_options>
</data>
Thank you for your suggestions and help.