Our pure JavaScript Scheduler component


Post by melazhadi »

hello,

I encounter problems when displaying events on the scheduler
on the version I downloaded it was perfect but now since I changed a lot on the scheduler for example the colors of the events are not now on the json I have performed conditions before affecting the colors
when I make these conditions and I affect the color it does not appear as it should

I do not know why can you help me?

Post by melazhadi »

I think that since there are several properties
tpldata.wrapperCls,
 eventRecord.eventColor,
  eventRecord.color,
   resourceRecord.color 
   //even if for me the colors will vary according to the eventRecord
to affect the color and I do not affect the good property

to which property I have to affect the color

Post by pmiklashevich »

Please provide a runnable testcase, explain what you're doing there to get the colors you want, and what is your expected result.

Pavlo Miklashevych
Sr. Frontend Developer


Post by melazhadi »

hello @pmiklashevich I can not explain more than that because I also do not know why the events are not displayed as I want

you find my project attached
Attachments
planningEquipe.zip
(4.54 MiB) Downloaded 94 times

Post by melazhadi »

I also want to use as style of event border as on this demo https://www.bryntum.com/examples/scheduler/eventstyles/ and the colors will vary according to criteria

Post by mats »

Please read the sources of this demo, then you'll see how easy it is! :)

Post by melazhadi »

I read the codes of the demo and I do the same thing but it does not work on my project :?

Post by melazhadi »

it seems to me that there is a problem of css


so I do not know why the events are not displayed the same way even if I use the same configuration for them
as you see in the picture
Attachments
2019-06-11_14h41_19.png
2019-06-11_14h41_19.png (26.88 KiB) Viewed 1877 times

Post by melazhadi »

and I found now also that if I close the node of the hierarchy and I open it again they display with the same style
as you see in the picture
Attachments
2019-06-11_14h46_16.png
2019-06-11_14h46_16.png (24.76 KiB) Viewed 1877 times

Post by melazhadi »

what gnaws us more is the fact that we have to open and close and re-open the node of the hierarchy to get the right result is a big problem for us

can you help us to solve this problem

Post Reply