Our pure JavaScript Scheduler component


Post by bprescott_msd »

We are trying to use the Scheduler, and I see how you can use the imagePath to automatically display an image next to the person's name by looking in a folder for an image with the person's name. However, our system that we are using is more complex, and I have a URL to an image that I would like to display there.

What is the strategy to do this? I searched for examples or posts, but could not readily find anything pertinent. Would we need to use a custom renderer for the first column, and if so, are there any samples or documentation showing how to use?

Thanks.

BP

Post by mats »

Please see the docs for the options: https://bryntum.com/docs/scheduler/#Sch ... InfoColumn
Looks for image name in fields on the resource in the following order: 'imageUrl', 'image', 'name'. Set showImage to a field name to use a custom field. Set imagePath to specify where to load images from. If no extension found, defaults to .jpg.
Does this solve it for you?

Post Reply