Our blazing fast Grid component built with pure JavaScript


Post by varindercodeadda »

Hi Team,
I have found an issue on current week view system while moving the task left or right the days has been decreasing for example I have created a task for two days when I moving the task left or right, it will showing 1.8 days. This is happening in current week

current week.png
current week.png (62.84 KiB) Viewed 120 times

Post by tasnim »

Are you able to reproduce it in our online demos? If yes, then could you please explain how are you reproducing it? If not Could you please provide a runnable test case so we can debug it?

Best of luck,
Tasnim


Post by varindercodeadda »

Here I found the issue when I add the holidays on calendar then the issue is arrive.

let list = []
        let demo = null
        const dates = taskData.calendars.value.dates
        dates.map((elm) => {
            demo = {
            	startDate: new Date(elm.date),
                endDate: new Date(new Date(elm.date).getTime() + 24 * 60 * 60 * 1000),                
isWorking: false } list.push(demo) return list }) const cal = [ { id: 'general', name: 'General', intervals: [{ recurrentStartDate: 'on Sat at 0:00', recurrentEndDate: 'on Mon at 0:00', isWorking: false }], expanded: true, children: [ { id: "hoildays", name: "Holidays", intervals: list } ] } ]

and in GanntConfif.js file I use calander like this

export const projectConfig = {
    calendar: 'hoildays',
    hoursPerDay: 24,
    daysPerWeek: 5,
    daysPerMonth: 20,
    autoLoad: true,
    stm: {
        autoRecord: true
    }

};

Post by tasnim »

We need a runnable test case to reproduce it! Please provide a runnable test case to get the fastest support possible.

Best of luck,
Tasnim


Post Reply