Our pure JavaScript Scheduler component


Post by melazhadi »

Hello,


I would like to know is there that there is an option to change the color on the break between a day and an employee

by default it is the white that appears but I have cases where I need that on a given day and for a given employee I change the color of the background

Post by mats »

Sorry, it's not clear what you mean. Please always provide plenty of context + images.

Post by melazhadi »

as we all know timeRange it's a bar for the whole list of employees on one day

for example I want to make a different style on the square that I drew for example so I want to know if there is a feature that allows you to change the style for a cell
Attachments
2019-06-25_09h30_31.png
2019-06-25_09h30_31.png (24.07 KiB) Viewed 1191 times

Post by mats »

Please look at ResourceTimeRanges feature in our docs, example: www.bryntum.com/examples/scheduler/resourcetimeranges

Post by melazhadi »

// schedulerConfig.js
resourceTimeRangesFeature: true,
//scheduler.vue
resourceTimeRangesFeature : [Boolean, Object],
//app.vue
<scheduler
			ref="scheduler"
			:resource-time-ranges-feature="schedulerConfig.resourceTimeRangesFeature"
.....
//data.json
{
	"success": true,
	"resourceTimeRanges": {
		"id": 1,
		"resourceId": 120,
		"startDate": "2019-07-01",
		"endDate": "2019-07-04",
		"name": "Lunch"
	},
....

I put this code but I did not have the expected result

Post by pmiklashevich »

What's your scheduler version? Please make sure your trial period is not expired. What example did you change? It's better to provide a zip-archive always to avoid a situation when something is not taken into account.

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply