UNPKG

jqwidgets-framework

Version:

jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.

946 lines (945 loc) 114 kB
<!DOCTYPE html> <html lang="en"> <head> <script type="text/javascript" src="../../../../scripts/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="../../../../scripts/documentation.js"></script> <link rel="stylesheet" href="../../../../Styles/jqx.apireference.css" type="text/css" /> <meta name="keywords" content="jQuery, Calendar, Month Calendar, DatePicker" /> <meta name="description" content="This page represents the help documentation of the jqxCalendar widget." /> <title>jqxCalendar API Reference</title> <script type="text/javascript"> $(document).ready(function () { $(".documentation-option-type-click").click(function (event) { $(event.target).parents('tr').next().find(".property-content").toggle(); }); }); </script> </head> <body> <div id="properties"> <h2 class="documentation-top-header">Properties</h2> <table class="documentation-table"> <tr> <th>Name </th> <th>Type </th> <th>Default </th> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span24'>backText</span> </td> <td> <span>String</span> </td> <td>Back </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets the tooltip text displayed when the mouse cursor is over the back navigation button. </p> <h4>Code example</h4> <p> Set the <code>backText</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({backText: "Back" });</code></pre> <p> Get the <code>backText</code> property. </p> <pre><code>var backText = $('#jqxCalendar').jqxCalendar('backText'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/DjuAs/">backText is set to 'Back' </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span14'>columnHeaderHeight</span> </td> <td> <span>Number</span> </td> <td>20 </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets the Calendar colomn header's height. In the column header are displayed the calendar day names. </p> <h4>Code example</h4> <p> Set the <code>columnHeaderHeight</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ columnHeaderHeight: 30 });</code></pre> <p> Get the <code>columnHeaderHeight</code> property. </p> <pre><code>var columnHeaderHeight = $('#jqxCalendar').jqxCalendar('columnHeaderHeight'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/8jvtK/">columnHeaderHeight is set to 50 </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span47'>clearString</span> </td> <td> <span>String</span> </td> <td>'Clear' </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets the 'Clear' string displayed when the 'showFooter' property is true. </p> <h4>Code example</h4> <p> Set the <code>clearString</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ clearString: 'Clear' });</code></pre> <p> Get the <code>clearString</code> property. </p> <pre><code>var clearString = $('#jqxCalendar').jqxCalendar('clearString'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/JjDC8/">clearString is set to 'Clear' </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span19'>culture</span> </td> <td> <span>String</span> </td> <td>default </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets the jqxCalendar's culture. The culture settings are contained within a file with the language code appended to the name, e.g. jquery.glob.de-DE.js for German. To set the culture, you need to include the jquery.glob.de-DE.js and set the culture property to the culture's name, e.g. 'de-DE'. </p> <h4>Code example</h4> <p> Set the <code>culture</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({culture: 'en-US' });</code></pre> <p> Get the <code>culture</code> property. </p> <pre><code>var culture = $('#jqxCalendar').jqxCalendar('culture'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/jbaEG/">culture is set to 'de-DE' </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span16'>dayNameFormat</span> </td> <td> <span>String</span> </td> <td>'firstTwoLetters' </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets the name format of days of the week. </p> <b>Possible Values:</b> <br /> <pre><code>'default'</code></pre> <pre><code>'shortest'</code></pre> <pre><code>'firstTwoLetters'</code></pre> <pre><code>'firstLetter'</code></pre> <pre><code>'full'</code></pre> <h4>Code example</h4> <p> Set the <code>dayNameFormat</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ dayNameFormat : 'firstTwoLetters'});</code></pre> <p> Get the <code>dayNameFormat</code> property. </p> <pre><code>var dayNameFormat = $('#jqxCalendar').jqxCalendar('dayNameFormat'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/9NjzR/">dayNameFormat is set to 'firstTwoLetters' </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='property-name-disabled'>disabled</span> </td> <td> <span>Boolean</span> </td> <td>false </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Disables (true) or enables (false) the calendar. Can be set when initialising (first creating) the calendar. </p> <h4>Code example</h4> <p> Set the <code>disabled</code> property. </p> <pre><code>$("#jqxCalendar").jqxCalendar({ disabled: true });</code></pre> <p> Get the <code>disabled</code> property. </p> <pre><code>var disabled = $('#jqxCalendar').jqxCalendar('disabled');</code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/uW4uF/">disabled is set to true</a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span10'>enableWeekend</span> </td> <td> <span>Boolean</span> </td> <td>false </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets a value indicating whether weekend persists its view state. </p> <h4>Code example</h4> <p> Set the <code>enableWeekend</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ enableWeekend: true });</code></pre> <p> Get the <code>enableWeekend</code> property. </p> <pre><code>var enableWeekend = $('#jqxCalendar').jqxCalendar('enableWeekend'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/Nb3GC/">enableWeekend is set to true </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span52'>enableViews</span> </td> <td> <span>Boolean</span> </td> <td>true </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Determines whether switching between month, year and decade views is enabled. </p> <h4>Code example</h4> <p> Set the <code>enableViews</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ enableViews: false });</code></pre> <p> Get the <code>enableViews</code> property. </p> <pre><code>var enableViews = $('#jqxCalendar').jqxCalendar('enableViews'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/KqdHh/">enableViews is set to false </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span11'>enableOtherMonthDays</span> </td> <td> <span>Boolean</span> </td> <td>true </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets a value indicating whether the other month days are enabled. </p> <h4>Code example</h4> <p> Set the <code>enableOtherMonthDays</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ enableOtherMonthDays: false });</code></pre> <p> Get the <code>enableOtherMonthDays</code> property. </p> <pre><code>var enableOtherMonthDays = $('#jqxCalendar').jqxCalendar('enableOtherMonthDays'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/Pjzqd/">enableOtherMonthDays is set to false </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span20'>enableFastNavigation</span> </td> <td> <span>Boolean</span> </td> <td>true </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets a value indicating whether the fast navigation is enabled. </p> <h4>Code example</h4> <p> Set the <code>enableFastNavigation</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ enableFastNavigation: false });</code></pre> <p> Get the <code>enableFastNavigation</code> property. </p> <pre><code>var enableFastNavigation = $('#jqxCalendar').jqxCalendar('enableFastNavigation'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/VHCdU/">enableFastNavigation is set to false </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span21'>enableHover</span> </td> <td> <span>Boolean</span> </td> <td>true </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets a value indicating whether the hover state is enabled. The hover state is activated when the mouse cursor is over a calendar cell. The hover state is automatically disabled when the calendar is displayed in touch devices. </p> <h4>Code example</h4> <p> Set the <code>enableHover</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({enableHover: false });</code></pre> <p> Get the <code>enableHover</code> property. </p> <pre><code>var enableHover = $('#jqxCalendar').jqxCalendar('enableHover'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/2StuR/">enableHover is set to false </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span22'>enableAutoNavigation</span> </td> <td> <span>Boolean</span> </td> <td>true </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets a value indicating whether the auto navigation is enabled. When this property is true, click on other month date will automatically navigate to the previous or next month. </p> <h4>Code example</h4> <p> Set the <code>enableAutoNavigation</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({enableAutoNavigation: false });</code></pre> <p> Get the <code>enableAutoNavigation</code> property. </p> <pre><code>var enableAutoNavigation = $('#jqxCalendar').jqxCalendar('enableAutoNavigation'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/Qnu2m/">enableAutoNavigation is set to false </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span23'>enableTooltips</span> </td> <td> <span>Boolean</span> </td> <td>false </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets a value indicating whether the tool tips are enabled. </p> <h4>Code example</h4> <p> Set the <code>enableTooltips</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({enableToolTips: false });</code></pre> <p> Get the <code>enableTooltips</code> property. </p> <pre><code>var enableTooltips = $('#jqxCalendar').jqxCalendar('enableTooltips'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/4KJ4x/">enableTooltips is set to true </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span25'>forwardText</span> </td> <td> <span>String</span> </td> <td>Forward </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets the tooltip text displayed when the mouse cursor is over the forward navigation button.EnableTooltips property should be set to true. </p> <h4>Code example</h4> <p> Set the <code>forwardText</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({forwardText: "Forward" });</code></pre> <p> Get the <code>forwardText</code> property. </p> <pre><code>var forwardText = $('#jqxCalendar').jqxCalendar('forwardText'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/q549T/">forwardText is set to 'Forward' </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span7'>firstDayOfWeek</span> </td> <td> <span>Number</span> </td> <td>0 </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets which day to display in the first day column. By default the calendar displays 'Sunday' as first day. </p> <h4>Code example</h4> <p> Set the <code>firstDayOfWeek</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ firstDayOfWeek: 1 });</code></pre> <p> Get the <code>firstDayOfWeek</code> property. </p> <pre><code>var firstDayOfWeek = $('#jqxCalendar').jqxCalendar('firstDayOfWeek'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/tBuG2/">firstDayOfWeek is set to 3 </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span5'>height</span> </td> <td> <span>Number/String</span> </td> <td>null </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets the height of the Calendar. </p> <h4>Code example</h4> <p> Set the <code>height</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({height: '200px' });</code></pre> <p> Get the <code>height</code> property. </p> <pre><code>var height = $('#jqxCalendar').jqxCalendar('height');</code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/tBuG2/">height is set to '200px'</a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span1'>min</span> </td> <td> <span>Date</span> </td> <td>1900, 1, 1 </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Represents the minimum navigation date. </p> <h4>Code example</h4> <p> Set the <code>min</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar('setMinDate', new Date(2000, 0, 1));</code></pre> <p> Get the <code>min</code> property. </p> <pre><code>var getMinDate = $('#jqxCalendar').jqxCalendar('getMinDate');</code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/weSTQ/">min is set to (2013, 0, 1)</a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span2'>max</span> </td> <td> <span>Date</span> </td> <td>2100, 1, 1 </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Represents the maximum navigation date. </p> <h4>Code example</h4> <p> Set the <code>max</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar('setMaxDate', new Date(2012, 0, 1));</code></pre> <p> Get the <code>max</code> property. </p> <pre><code>var getMaxDate = $('#jqxCalendar').jqxCalendar('getMaxDate');</code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/PeWL3/">max is set to (2017, 0, 1)</a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span53'>navigationDelay</span> </td> <td> <span>Number</span> </td> <td>400 </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Determines the animation delay between switching views. </p> <h4>Code example</h4> <p> Set the <code>navigationDelay</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ navigationDelay:800});</code></pre> <p> Get the <code>navigationDelay</code> property. </p> <pre><code>var navigationDelay = $('#jqxCalendar').jqxCalendar('navigationDelay'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/XwHcb/">navigationDelay is set to 2000 </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span13'>rowHeaderWidth</span> </td> <td> <span>Number</span> </td> <td>25 </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets the row header width. </p> <h4>Code example</h4> <p> Set the <code>rowHeaderWidth</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ rowHeaderWidth:30});</code></pre> <p> Get the <code>rowHeaderWidth</code> property. </p> <pre><code>var rowHeaderWidth = $('#jqxCalendar').jqxCalendar('rowHeaderWidth'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/dd3HX/">rowHeaderWidth is set to 30 </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span18'>readOnly</span> </td> <td> <span>Boolean</span> </td> <td>false </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets the calendar in read only state. </p> <h4>Code example</h4> <p> Set the <code>readOnly</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({readOnly: true });</code></pre> <p> Get the <code>readOnly</code> property. </p> <pre><code>var readOnly = $('#jqxCalendar').jqxCalendar('readOnly'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/3ncWN/">readOnly is set to true </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span55'>restrictedDates</span> </td> <td> <span>Array</span> </td> <td>[] </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets the calendar's restricted dates. These are dates which cannot be clicked. </p> <h4>Code example</h4> <p> Set the <code>restrictedDates</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({restrictedDates: dates });</code></pre> <p> Get the <code>restrictedDates</code> property. </p> <pre><code>var restrictedDates = $('#jqxCalendar').jqxCalendar('restrictedDates'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/L8cn5zyf/">restrictedDates is set to an array of dates</a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span51'>rtl</span> </td> <td> <span>Boolean</span> </td> <td>false </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p>Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts.</p> <h4>Code example</h4> <p> Set the <code>rtl</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({rtl : true}); </code></pre> <p> Get the <code>rtl</code> property. </p> <pre><code>var rtl = $('#jqxCalendar').jqxCalendar('rtl'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/MSn6h/">rtl is set to true</a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span3'>stepMonths</span> </td> <td> <span>Number</span> </td> <td>1 </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Represents the calendar`s navigation step when the left or right navigation button is clicked. </p> <h4>Code example</h4> <p> Set the <code>stepMonths</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ stepMonths: 2});</code></pre> <p> Get the <code>stepMonths</code> property. </p> <pre><code>var stepMonths = $('#jqxCalendar').jqxCalendar('stepMonths');</code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/teN8U/">stepMonths is set to 3</a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span8'>showWeekNumbers</span> </td> <td> <span>Boolean</span> </td> <td>true </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets a value whether the week`s numbers are displayed. </p> <h4>Code example</h4> <p> Set the <code>showWeekNumbers</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ showWeekNumbers: false });</code></pre> <p> Get the <code>showWeekNumbers</code> property. </p> <pre><code>var showWeekNumbers = $('#jqxCalendar').jqxCalendar('showWeekNumbers'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/c2Hcq/">showWeekNumbers is set to true </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span9'>showDayNames</span> </td> <td> <span>Boolean</span> </td> <td>true </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets a value whether the day names are displayed. By default, the day names are displayed. </p> <h4>Code example</h4> <p> Set the <code>showDayNames</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ showDayNames: false });</code></pre> <p> Get the <code>showDayNames</code> property. </p> <pre><code>var showDayNames = $('#jqxCalendar').jqxCalendar('showDayNames'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/FNQ77/">showDayNames is set to false </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span12'>showOtherMonthDays</span> </td> <td> <span>Boolean</span> </td> <td>true </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets a value whether the other month days are displayed. </p> <h4>Code example</h4> <p> Set the <code>showOtherMonthDays</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ showOtherMonthDays: false });</code></pre> <p> Get the <code>showOtherMonthDays</code> property. </p> <pre><code>var showOtherMonthDays = $('#jqxCalendar').jqxCalendar('showOtherMonthDays'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/j7qHP/">showOtherMonthDays is set to false </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span35'>showFooter</span> </td> <td> <span>Boolean</span> </td> <td>false </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets a value indicating whether the calendar's footer is displayed. </p> <h4>Code example</h4> <p> Set the <code>showFooter</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ showFooter: true });</code></pre> <p> Get the <code>showFooter</code> property. </p> <pre><code>var showFooter = $('#jqxCalendar').jqxCalendar('showFooter'); </code></pre> <div style="padding-bottom: 5px;"> <em>Try it:</em> <a target="_blank" href="http://jsfiddle.net/jqwidgets/5VtR7/">showFooter is set to true </a> </div> </div> </td> </tr> <tr> <td class="documentation-option-type-click"> <span id='Span45'>selectionMode</span> </td> <td> <span>String</span> </td> <td>'default' </td> </tr> <tr> <td colspan='3' style='width: 100%'> <div class="documentation-option-description property-content" style="display: none;"> <p> Sets or gets the selection mode. </p> <b>Possible Values:</b> <br /> <pre><code>'none'</code></pre> <pre><code>'default'</code></pre> <pre><code>'range'</code></pre> <h4>Code example</h4> <p> Set the <code>selectionMode</code> property. </p> <pre><code>$('#jqxCalendar').jqxCalendar({ selectionMode: 'range' });</code></pre> <p> Get the <code>selectionMode</code> property. </p>