How to dynamicly edit the width and position of schedule appointments

I'm working on a project that has me edit the appointments in the scheduler. Currently I edit the width and position of all the appointmets through JavaScript with the .EventRendered("onEventRendered") method in the .cshtml file.

I've ran into a problem when I edit the width and position of multiple appointments that happen at the same time. My JavaScript code executes as it should but somewhere (in another .js file I presume) it gets overwritten and changes the values back to the default values.

Example of what I would like: https://imgur.com/K604z.png

and what it currently is: https://imgur.com/68CMv.png




2 Replies

RM Ruksar Moosa Sait Syncfusion Team March 4, 2022 06:54 PM UTC

Hi Tadej,


Based on your shared code, we have prepared a sample to check on your reported issue. Since we are not sure about your ViewBag.datasource we have framed some appointments with NumberOfRows. But unfortunately, the output produced was not as expected. Also, we suspect, the NumberOfRows we used are different from yours. Kindly share the below details to validate your reported issue and serve you better. 

  • Issue replicating datasource
  • If possible, replicate the issue in the attached sample.


We will be happy to assist you..!


Regards,

Ruksar Moosa Sait


Attachment: MVCwidthpositionissue_896d49a2.zip


RM Ruksar Moosa Sait Syncfusion Team March 8, 2022 08:58 PM UTC

Hi Tadej,


Sorry for the inconvenience.


We checked the requirement with our source end, and we regret to let you know that this is not possible to set/overwrite the width or position of the appointments as it is already handled in our component source.


Please let us know if you need any further assistance.


Regards,

Ruksar Moosa Sait 


Loader.
Up arrow icon