Request new features or modifications


Post by didot »

Dear Team,
We really need your support, We have a urgent request by client for Chart view.
Now We use viewPreset = 'weekAndDay' but it show all day in that week, Our Client only need show data between start date and end date. How can we make viewPreset is not grouped by week, Please your advice and support.
Attachments
calender by.png
calender by.png (50.07 KiB) Viewed 13769 times
Last edited by didot on Tue Oct 29, 2019 3:00 am, edited 1 time in total.

Post by sergey.maltsev »

Hi!

You could set startDate and endDate for Scheduler to show the exact period.
https://www.bryntum.com/docs/scheduler/#Scheduler/view/TimelineBase#config-startDate

In config
new Scheduler({

    startDate          : new Date(2019, 10, 1),
    endDate            : new Date(2019, 10, 11),
    ...
    
});
or in code
scheduler.startDate = new Date(2019, 10, 1);
scheduler.endDate = new Date(2019, 10, 11);

Post by didot »

i already put StartDate and EndDate in config.

for example i setup in config
startDate : new Date(2019, 10, 29),
endDate : new Date(2019, 11, 26),

but in calender show from 27 october 2019 , i dont need group by week ..

Post by sergey.maltsev »

Hi!

Please try to use autoAdjustTimeAxis: false config option.
https://www.bryntum.com/docs/gantt/#Scheduler/view/TimelineBase#config-autoAdjustTimeAxis

Post by brule »

Bryntum Gantt version 2.1.4 problem: I have made many changes. After clicking undo once, I found that both the undo and redo buttons have become disabled


Post by alex.l »

Hi brule,

Could you provide a testcase and describe your problem more detailed? Maybe try to reproduce this problem in one of our examples?

Alex

All the best,
Alex


Post Reply