combo_list methods and properties undefined error

I cant get any _list methods or properties to work when using the mobile scheduler(dhxscheduler_mobile.js) with a combo that I have added. I want to repopulate the list data dynamically I am doing this with the grid using clearAll then define “url” but unable to use the _list appended to the combo name (as per docs) to access the clearAll method. Any help appreciated.
Thanks
Tom

Hello Tom,

To access any view, e.g. view with id= “myCombo”, you need to use the following approach:

$$(“scheduler”).$$(“myCombo”)

getList() method of the “combo” returns list view:

$$(“scheduler”).$$(“myCombo”).getList()

Thanks that does work