Welcome to the jQuery feedback portal. We’re happy you’re here! If you have feedback on how to improve the jQuery, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

For the version, I have selected the PHP version, as I assume this is an issue during the generation on its side and not the JQuery side. (Launcher says it's the latest)

I have noticed that the Scheduler is not removing the quotes for the menu items, I was following the sample here https://help.syncfusion.com/php/schedule/context-menu

Actual output:
"menuItems":"{n        "appointment": [n            { "id": "open", "text": "Open Appointment" },n            { "id": "delete", "text": "Delete Appointment" }n        ]n    }"

Expected Output:
"menuItems": { "appointment": [ { "id": "open", "text": "Open Appointment" }, { "id": "delete", "text": "Delete Appointment" } ] }

Example script:
$schedule = new EJ\Schedule($params['id'] ?? 'defaultSchedule');

$menuData = '{
"appointment": [
{ "id": "open", "text": "Open Appointment" },
{ "id": "delete", "text": "Delete Appointment" }
]
}';
$contextData = new EJ\Schedule\ContextMenuSetting();
$contextData->enable(true)->menuItems($menuData);


return $schedule->width('100%')->contextMenuSettings($contextData)->render();