How to refresh List view on some event.

Hi,
I have added Back and previous button on List view.
How do I refresh the list view on click on back and previous button.

You can use filtering if all data are already loaded in list. The other solution is to reload data:

$$(“scheduler”).$$(“list”).clearAll();
$$(“scheduler”).$$(“list”).load(url) // or $$(“scheduler”).$$(“list”).parse(data);

Here I use “list” as view id. Possibly it will be different view in your scheduler …

Filtering example in Touch package:
dhtmlxTouch_v12_120913/samples/04_list/12_filtration.html

And here are info about filtering:
docs.dhtmlx.com/touch/doku.php?i … ilter_data

Thanks Alexandra,

I was able to do it with
scheduler.config.init_date = listDate;
$$(“scheduler”).refresh();