dynamic

enables loading events by chunks during navigation

string | boolean dynamic;

Values

  • "day"
  • "week"
  • "moth"
  • "year"
  • true
  • Example

    webix.ui({
        view: "scheduler",
        date: new Date(2020, 5, 30, 0, 0, 0),
        /* events will be loaded every time 
        the current date is equal to the first day of a month */
        dynamic: "month", 
        url: "https://docs.webix.com/calendar-backend/",
    });

    Details

    The property does not depend on the current display mode. It means that if the current mode is set to "day" while the dynamic property is set to "month" loading of the next data chunk will happen only when user navigates to the first day of the next month.

    In case the property is set to true, dynamic loading depends on the specified mode and the visible dates.

    See also
    Back to top