Our pure JavaScript Scheduler component


Post by JohnMousley »

Hi, I just upgraded from v4.0.8 to v4.1.0 of the Scheduler Pro control.

Sometimes in an event we display a tick icon on the left-hand side, the problem with the updated version is that when we make the event smaller the tick will disappear, on the previous version the tick would remain visible.

I have uploaded a before and after pic as well as demo project.

How can I get the original v4.0.8 behaviour back please so it is visible when the event is shrunk?

Thanks.

Attachments
ScheduleWS.zip
(30.01 KiB) Downloaded 100 times
Scheduler-v4.1.0.png
Scheduler-v4.1.0.png (3.69 KiB) Viewed 624 times
Scheduler-v4.0.8.png
Scheduler-v4.0.8.png (3.3 KiB) Viewed 624 times

Post by alex.l »

I tried to use your renderer in our examples and it works well to me. Please check the gif:

tick.gif
tick.gif (99.11 KiB) Viewed 613 times

Btw, to place an icon you can use https://bryntum.com/docs/scheduler-pro/#Scheduler/model/TimeSpan#field-iconCls field as it shown here: https://bryntum.com/examples/scheduler-pro/dependencies/

All the best,
Alex


Post by JohnMousley »

Is that using v4.1.0 of the scheduler pro?


Post by alex.l »

Hi JohnMousley,

Yes it is. Try it yourself.

  1. Open https://bryntum.com/examples/scheduler-pro/dependencies/ locally
  2. Change eventRenderer on yours and copy an image you used to our example directory.

That's what I did to make that GIF.

All the best,
Alex

All the best,
Alex


Post by JohnMousley »

Thanks, how do I use 'renderData.iconCls' to use an actual image please?


Post by mats »

iconCls is to put an icon using an icon font, not for rendering actual images.


Post Reply