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!>
Thanks for joining our community and helping improve Syncfusion products!
"menuItems":"{n "appointment": [n { "id": "open", "text": "Open Appointment" },n { "id": "delete", "text": "Delete Appointment" }n ]n }"
"menuItems": { "appointment": [ { "id": "open", "text": "Open Appointment" }, { "id": "delete", "text": "Delete Appointment" } ] }
$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();