link1918 link1919 link1920 link1921 link1922 link1923 link1924 link1925 link1926 link1927 link1928 link1929 link1930 link1931 link1932 link1933 link1934 link1935 link1936 link1937 link1938 link1939 link1940 link1941 link1942 link1943 link1944 link1945 link1946 link1947 link1948 link1949 link1950 link1951 link1952 link1953 link1954 link1955 link1956 link1957 link1958 link1959 link1960 link1961 link1962 link1963 link1964 link1965 link1966 link1967 link1968 link1969 link1970 link1971 link1972 link1973 link1974 link1975 link1976 link1977 link1978 link1979 link1980 link1981 link1982 link1983 link1984 link1985 link1986 link1987 link1988 link1989 link1990 link1991 link1992 link1993 link1994 link1995 link1996 link1997 link1998 link1999 link2000 link2001 link2002 link2003 link2004 link2005 link2006 link2007 link2008 link2009 link2010 link2011 link2012 link2013 link2014 link2015 link2016 link2017 link2018 link2019 link2020 link2021 link2022 link2023 link2024 link2025 link2026 link2027 link2028 link2029 link2030 link2031 link2032 link2033 link2034 link2035 link2036 link2037 link2038 link2039 link2040 link2041 link2042 link2043 link2044 link2045 link2046 link2047 link2048 link2049 link2050 link2051 link2052 link2053 link2054

[Vue.js] dhtmlx scheduler timeline month view a event on two month

I’ve two problems with dhtmlx scheduler and I need the help;

Problem 1

I’ve a event who started at the last day of may and finish the first day of June. On the May view, I see my event object but he’s not visible on the June view. The following event is visible on the two month view: May_lastDay -> June_firstDay+n (first day = no, second and more = yes).
Furthermore, the events started the previous month is displayed but not to the start of first day, he start on the half of the day (graphicaly only) (ex:05/25-06/02) . I think the event finished at first day is not visibile because of this.

Problem 2

I can’t grow up the event by the start bypass the previous month(ex: actually 06/02, to grow up for the event start the 05/31 (the last day of previous month = maximum) and finish at the same time of previously). But I can do the reverse: actually 05/29 - 05/31, I can grow up for 05/29 - 06/01 (1rst day max).


name: “timeline”,
x_unit: “day”,
x_date: “%d %D “,
x_step: 1,
x_size: 31,
section_autoheight: false,
y_unit: scheduler.serverList(“visibleRooms”),
y_property: “room”,
event_dy: “full”,
x_unit: “month”,
x_date: “%F, %Y”
// scrollable: true,
// scroll_position:new Date(2018, 0, 15)

Picture 1 : May
Picture 2: June

on the second last line of the second picture, there should be the red event on half of the first day of June.

on the 3rd and 7th lines there should not be a hole on the 1st day of June. (when we move the cursor on the event we can see that the dates are still good)

Solution :

Problem 1

I tried to reproduce the issue
Events rendered correctly according to dates in data. If end_date is:

“end_date”: “2019-06-01 00:00”

it means, that the event finishes on the last day in May and doesn’t cover June 1st.
If you want to cover also June 1st you should set end date “2019-06-02 00:00”. Maybe you could at least use “2019-06-01 23:59:59”, but the correct case is to use “2019-06-02 00:00”.
If it necessary for you, you could correct event dates in onEventLoading handler.

Problem 2

I don’t fully understand the question. Please reproduce it with the data in the snippet system and share the updated link. Also specify steps to replicate the issue if it’s necessary