Premium support for our pure JavaScript UI components


Post by melazhadi »

Hello,
I want to work with resourceTimeRange Feature
on my prototype but it does not work i use two props :
resourceTimeRangesFeature: [Boolean, Object],
resourceTimeRanges: Array,
in the scheduler.vue

and in schedulerConfig.js i have :
resourceTimeRangesFeature: true,
resourceTimeRanges: [
				{
					id: 7,
					resourceId: 21,
					startDate: "2019-06-26",
					endDate: "2019-06-27",
					name: "AFK (uses timeRangeColor)",
					cls: "red"
				}
			]
and in app.vue i have :
:resource-time-ranges-feature="schedulerConfig.resourceTimeRangesFeature"
			:resource-time-ranges="schedulerConfig.resourceTimeRanges"
you can clarify for me the problem,Thnaks

Post by sergey.maltsev »

Hi!
Thank you for the bug report.
I've created a ticket to fix this issue.
https://app.assembla.com/spaces/bryntum/tickets/9220-vue--scheduler-wrapper-doesn--39-t-apply-features/details

As a quick fix you could try replace examples/vue/javascript/_shared/src/Scheduler.vue with attached one from zip and rebuild the project.
Attachments
Scheduler.zip
(2.19 KiB) Downloaded 130 times

Post by melazhadi »

Hello,
I put the changes you asked me
but I do not have the expected result yet. Please it's too urgent I need this feature this afternoon if you can help me
Thanks

Post by sergey.maltsev »

Hi!

Your latest post has no information what is actually wrong.
It would me much easier and faster to help you if you attach zipped project so we can check and give you specific help information.

Post by melazhadi »

you will find attached the zipped project

thank you,
Attachments
tasks.zip
(7.22 MiB) Downloaded 115 times

Post by sergey.maltsev »

Hi melazhadi!

Thank you for attached project zip.
We see that problem with ResourceTimeRanges exists.
Currently we have no ready solution for this but we will examine your project to find the reason and update this post when we have it.

Post by sergey.maltsev »

Hi melazhadi!

I suggest you to do this.
Download latest scheduler build 2.2.4 (you have old 2.1.3 one in your app) and use latest Scheduler.vue from the attached sources below (tasks-forum-1.zip).
To check this app just place it under scheduler-sources/examples/vue/javascript/tasks-forum-1 and run
npm install
npm run start
You should see this
Tasks.png
Tasks.png (41.02 KiB) Viewed 1347 times
Attachments
tasks-forum-1.zip
(1.09 MiB) Downloaded 114 times

Post Reply