![]() |
VOOZH | about |
jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxScheduler widget is used to show a set of appointments in a day, week, month, timeline day, timeline week as well as timeline month views.
The contextMenuItemClick property is used to set or return the invoked function whenever an item from the displayed context menu is clicked. It is of type Function and its default value is null.
Syntax:
Set the contextMenuItemClick property.
$("#Selector").jqxScheduler({
contextMenuItemClick: function ()...
});
Return the contextMenuItemClick property.
var contextMenuItemClick = $('#Selector')
.jqxScheduler('contextMenuItemClick');
Linked Files: Download jQWidgets from the given link. In the HTML file, locate the script files in the downloaded folder.
<link rel=”stylesheet” href=”jqwidgets/styles/jqx.base.css” type=”text/css” />
<script type=”text/javascript” src=”scripts/jquery-1.11.1.min.js”></script>
<script type="text/javascript" src="jqwidgets/jqx-all.js"></script>
<script type="text/javascript" src="jqwidgets/jqxscheduler.js"></script>
<script type="text/javascript" src="jqwidgets/jqxscheduler.api.js"></script>
Example: The below example illustrates the jqxScheduler contextMenuItemClick property in jQWidgets.
Output:
👁 Image