Our pure JavaScript Scheduler component


Post by v-paulrausch »

Hi Team,
I am trying to highlight a day using highlightTimeSpan feature but its highlight for previous days as well, Can you please help me with it?, I have attached a video of the issue and here is the code I am using

if (schedulerProRef.current && schedulerProRef.current.instance) {
      const newDate = new Date(2024, 1, 14, 0, 0);
      if (newDate) {
        schedulerProRef.current.instance.highlightTimeSpan({
          startDate: newDate,
          endDate: new Date(2024, 1, 14, 23, 30),
          //surround: true,
          name: "Away",
        });
      } else {
        schedulerProRef.current.instance.unhighlightTimeSpans(true);
      }
    }

Regards,
Paul

Attachments
msedge_PI5HMcmCU0.mp4
(730.31 KiB) Downloaded 13 times

Post by kronaemmanuel »

Hi Paul,

Thanks for the report, I've created an issue: https://github.com/bryntum/support/issues/8548 to track this bug.

Regards,
Krona


Post by v-paulrausch »

When can we expect 5.6.7 release?


Post by ghulam.ghous »

Hey Paul,

We are planning to release 5.6.7 early next week.


Post by v-paulrausch »

Hi Team,

Can we know when the release going to happen? we have a go live demo this weekend? Can we release if possible today or tomorrow?


Post by mats »

We're releasing tomorrow or Thursday most likely. You can grab a nightly build if you want the fix immediately.


Post by v-paulrausch »

Can we know the process of garbing nightly builds.


Post by ghulam.ghous »

Hi Paul,

You can download it from the customer zone https://customerzone.bryntum.com/. You can find it in the tab under Nightly Builds alongside All Releases.


Post by v-paulrausch »

Hi Team,

we were able to download some zip file where we can see below but can we know the process to use them?

Currently we have 5.6.3 as reference in our project package.json file. will the existing project requires any changes when you let us know the steps to apply something from below?

examples in it will work with latest updates right?

Screenshot 2024-02-20 215453.png
Screenshot 2024-02-20 215453.png (402.78 KiB) Viewed 134 times

Post by marcio »

Hey,

While the release is not available, you can try the following approach to use local files in npm:

https://stackoverflow.com/questions/15806241/how-to-specify-local-modules-as-npm-package-dependencies

{
  "name": "baz",
  "dependencies": {
    "bar": "file:../foo/bar"
  }
}

You can set the path to module builds as package source.

Best regards,
Márcio


Post Reply