## Properties

Name | Type | Default
--- | --- | ---
filterCallback | Function |
    function (text, searchValue) {
        return text.toString().toLowerCase().indexOf(searchValue.toLowerCase()) >= 0;
    };
Used for filtering the jqxListMenu using the filter input. #### Code example Initialize a jqxListMenu with the `filterCallback` property specified.
    $('#jqxListMenu').jqxListMenu({ filterCallback: function (text, searchValue) {
        return text.toString().toLowerCase().indexOf(searchValue.toLowerCase()) >= 0;
    }});
width | String | 100%
Gets or sets the jqxListMenu's width. #### Code example Initialize a jqxListMenu with the `width` property specified.
    $("#jqxListMenu").jqxListMenu({ width: '250px' });
height | String | auto
Gets or sets the jqxListMenu's height. #### Code example Initialize a jqxListMenu with the `height` property specified.
    $("#jqxListMenu").jqxListMenu({ height: '250px' });
disabled | Boolean | false
Gets or sets the jqxListMenu's disabled property. #### Code example Initialize a jqxListMenu with the `disabled` property specified.
    $("#jqxListMenu").jqxListMenu({ disabled: true });
roundedCorners | Boolean | true
Gets or sets the jqxListMenu's roundedCorners property. #### Code example Initialize a jqxListMenu with the `roundedCorners` property specified.
    $("#jqxListMenu").jqxListMenu({ roundedCorners: false });
showNavigationArrows | Boolean | true
Gets or sets the jqxListMenu's showNavigationArrows property. The showNavigationArrows specifies whether navigation arrows are displayed only for list items with nested Lists #### Code example Initialize a jqxListMenu with the `showNavigationArrows` property specified.
    $("#jqxListMenu").jqxListMenu({ showNavigationArrows: false });
alwaysShowNavigationArrows | Boolean | false
Gets or sets the jqxListMenu's alwaysShowNavigationArrows property. The alwaysShowNavigationArrows specifies whether navigation arrows are displayed for all items. #### Code example Initialize a jqxListMenu with the `alwaysShowNavigationArrows` property specified.
    $("#jqxListMenu").jqxListMenu({ alwaysShowNavigationArrows: true });
placeHolder | String | 'Filter list items...'
Gets or sets the filter input field's place holder. #### Code example Initialize a jqxListMenu with the `placeHolder` property specified.
    $("#jqxListMenu").jqxListMenu({ placeHolder: 'Search items...' });
showFilter | Boolean | false
Gets or sets whether the filter input field is visible. #### Code example Initialize a jqxListMenu with the `showFilter` property specified.
    $("#jqxListMenu").jqxListMenu({ showFilter: true });
showHeader | Boolean | true
Gets or sets whether the header will be visible. #### Code example Initialize a jqxListMenu with the `showHeader` property specified.
    $("#jqxListMenu").jqxListMenu({showHeader: false});
showBackButton | Boolean | true
Indicates whether the back button will be visible. #### Code example Initialize a jqxListMenu with the `showBackButton` property specified.
    $("#jqxListMenu").jqxListMenu({showBackButton: true});
backLabel | String | "Back"
Gets or sets the BackButton's label. #### Code example Initialize a jqxListMenu with the `backLabel` property specified.
    $("#jqxListMenu").jqxListMenu({backLabel: 'Back'});
animationType | String | "slide"
Sets or gets the animation's type. There are two possible values for this property: 'slide', 'fade'. #### Code example Initialize a jqxListMenu with the `animationType` property specified.
    $("#jqxListMenu").jqxListMenu({animationType: 'fade'});
animationDuration | Number | 250
Sets or gets the animation duration in milliseconds. #### Code example Initialize a jqxListMenu with the `animationDuration` property specified.
    $("#jqxListMenu").jqxListMenu({animationDuration: 130});
headerAnimationDuration | Number | 0
Sets or gets the animation duration of the header. Header of a listmenu could be set whether the data-role attribute of a list item is set to 'header'. Example:

        <ul data-role="listmenu">        <li data-role="header">Header</li>        <li>Item</li>    </ul>
This property is setting the duration of the animation used for changing the header when different nested listviews are switched. Fade animation is used for switching through different headers. #### Code example Initialize a jqxListMenu with the `headerAnimationDuration` property specified.
    $("#jqxListMenu").jqxListMenu({ headerAnimationDuration: 250 });
autoSeparators | Boolean | false
Gets or sets whether auto separators will be generated. Separator is generated for a sequence of list items with equal start character. The property is possible to be set through the attribute data-auto-separators="true". Code Example:

            <ul data-role="listmenu" data-auto-separators="true">            <li>Item 1</li>            <li>Item 2</li></ul>
#### Code example Initialize a jqxListMenu with the `autoSeparators` property specified.
    $("#jqxListMenu").jqxListMenu({ autoSeparators: true });
readOnly | Boolean | false
Gets or sets whether the list will be read-only. In readOnly mode, items are not clickable. #### Code example Initialize a jqxListMenu with the `readOnly` property specified.
    $("#jqxListMenu").jqxListMenu({ readOnly: false });
enableScrolling | Boolean | true
When the jqxListMenu is created with the enableScrolling property set to true, vertical scrollbar automatically appears, if the items overflow the visible area. In order to use this feature, the following files should be included: jqxpanel.js and jqxscrollbar.js.
## Methods
changePage | Method |
Sets the displayed page. The page could be set using a selector or object. The page must be a child of the current list and it's data-role must be set to "listmenu". #### Code example Invoke the changePage method.
    // @param String
    $("#jqxListMenu").jqxListMenu('changePage', '#newPage' );
#### Code example
    <!DOCTYPE html><html lang="en"><head>    <link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css" />    <script type="text/javascript" src="../../scripts/jquery-1.8.0.min.js"></script>    <script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script>    <script type="text/javascript" src="../../jqwidgets/jqxListMenu.js"></script>    <script type="text/javascript" src="../../jqwidgets/jqxbuttons.js"></script>    <script type="text/javascript">        $(document).ready(function () {            $('#list').jqxListMenu({ autoSeparators: true, showHeader: true, width: '600px', placeholder: 'Find contact...' });            $('#list').jqxListMenu('changePage', '#content');        });    </script>    <style type="text/css">        html, body        {            margin: 0px;            padding: 0px;            width: 100%;            height: 100%;        }        #list img        {            width: 50px;            height: 55px;        }        #list div        {            margin-top: -35px;            margin-left: 80px;        }        .jqx-listmenu-item        {            padding: 0px;            min-height: 57px;        }        div td        {            padding-top: 5px;            padding-bottom: 5px;        }    </style></head><body class='default'>    <ul id="list" data-role="listmenu">        <li>            <img src="../../images/andrew.png" alt="" /><div>                Andrew Fuller</div>            <ul id='content' data-role="listmenu">                <li>                    <div style="padding: 5px;" data-role="content">                        <table>                            <tr>                                <td>                                    <img width="50" height="50" src="../../images/andrew.png" alt="" />                                </td>                                <td>                                    <b>Andrew Fuller</b>                                </td>                            </tr>                            <tr>                                <td>                                    Title                                </td>                                <td>                                    Sales Representative                                </td>                            </tr>                            <tr>                                <td>                                    Notes                                </td>                                <td>                                    "Andrew received his BTS commercial in 1974 and a Ph.D. in international marketing                                    from the University of Dallas in 1981. He is fluent in French and Italian and reads                                    German. He joined the company as a sales representative, was promoted to sales manager                                    in January 1992 and to vice president of sales in March 1993. Andrew is a member                                    of the Sales Management Roundtable, the Seattle Chamber of Commerce, and the Pacific                                    Rim Importers Association.                                </td>                            </tr>                            <tr>                                <td>                                    Birth Date                                </td>                                <td>                                    19-Feb-52                                </td>                            </tr>                            <tr>                                <td>                                    Hire Date                                </td>                                <td>                                    14-Aug-92                                </td>                            </tr>                            <tr>                                <td>                                    Home Phone                                </td>                                <td>                                    (206) 555-9482                                </td>                            </tr>                            <tr>                                <td>                                    Address                                </td>                                <td>                                    908 W. Capital Way.                                </td>                            </tr>                            <tr>                                <td>                                    Postal Code                                </td>                                <td>                                    98401                                </td>                            </tr>                            <tr>                                <td>                                    City                                </td>                                <td>                                    Tacoma                                </td>                            </tr>                            <tr>                                <td>                                    Country                                </td>                                <td>                                    USA                                </td>                            </tr>                        </table>                    </div>                </li>            </ul>        </li>        <li>            <img src="../../images/anne.png" alt="" /><div>                Anne Dodsworth</div>            <ul data-role="listmenu">                <li>                    <div style="padding: 5px;" data-role="content">                        <table>                            <tr>                                <td>                                    <img width="50" height="50" src="../../images/anne.png" alt="" />                                </td>                                <td>                                    <b>Anne Dodsworth</b>                                </td>                            </tr>                            <tr>                                <td>                                    Title                                </td>                                <td>                                    Inside Sales Coordinator                                </td>                            </tr>                            <tr>                                <td>                                    Notes                                </td>                                <td>                                    Anne has a BA degree in English from St. Lawrence College. She is fluent in French                                    and German.                                </td>                            </tr>                            <tr>                                <td>                                    Birth Date                                </td>                                <td>                                    27-Jan-66                                </td>                            </tr>                            <tr>                                <td>                                    Hire Date                                </td>                                <td>                                    15-Nov-94                                </td>                            </tr>                            <tr>                                <td>                                    Home Phone                                </td>                                <td>                                    (71) 555-5598                                </td>                            </tr>                            <tr>                                <td>                                    Address                                </td>                                <td>                                    7 Houndstooth Rd.                                </td>                            </tr>                            <tr>                                <td>                                    Postal Code                                </td>                                <td>                                    WG2 7LT                                </td>                            </tr>                            <tr>                                <td>                                    City                                </td>                                <td>                                    London                                </td>                            </tr>                            <tr>                                <td>                                    Country                                </td>                                <td>                                    UK                                </td>                            </tr>                        </table>                    </div>                </li>            </ul>        </li>        <li>            <img src="../../images/janet.png" alt="" /><div>                Janet Leverling</div>            <ul data-role="listmenu">                <li>                    <div style="padding: 5px;" data-role="content">                        <table>                            <tr>                                <td>                                    <img width="50" height="50" src="../../images/janet.png" alt="" />                                </td>                                <td>                                    <b>Janet Leverling</b>                                </td>                            </tr>                            <tr>                                <td>                                    Title                                </td>                                <td>                                    Sales Representative                                </td>                            </tr>                            <tr>                                <td>                                    Notes                                </td>                                <td>                                    Janet has a BS degree in chemistry from Boston College (1984). She has also completed                                    a certificate program in food retailing management. Janet was hired as a sales associate                                    in 1991 and promoted to sales representative in February 1992.                                </td>                            </tr>                            <tr>                                <td>                                    Birth Date                                </td>                                <td>                                    27-Jan-69                                </td>                            </tr>                            <tr>                                <td>                                    Hire Date                                </td>                                <td>                                    15-Nov-94                                </td>                            </tr>                            <tr>                                <td>                                    Home Phone                                </td>                                <td>                                    (71) 555-4444                                </td>                            </tr>                            <tr>                                <td>                                    Address                                </td>                                <td>                                    Miner Rd.                                </td>                            </tr>                            <tr>                                <td>                                    Postal Code                                </td>                                <td>                                    WG2 7LT                                </td>                            </tr>                            <tr>                                <td>                                    City                                </td>                                <td>                                    London                                </td>                            </tr>                            <tr>                                <td>                                    Country                                </td>                                <td>                                    UK                                </td>                            </tr>                        </table>                    </div>                </li>            </ul>        </li>        <li>            <img src="../../images/laura.png" alt="" /><div>                Laura Callahan</div>            <ul data-role="listmenu">                <li>                    <div style="padding: 5px;" data-role="content">                        <table>                            <tr>                                <td>                                    <img width="50" height="50" src="../../images/laura.png" alt="" />                                </td>                                <td>                                    <b>Laura Callahan</b>                                </td>                            </tr>                            <tr>                                <td>                                    Title                                </td>                                <td>                                    Sales Representative                                </td>                            </tr>                            <tr>                                <td>                                    Notes                                </td>                                <td>                                    Laura received a BA in psychology from the University of Washington. She has also                                    completed a course in business French. She reads and writes French.                                </td>                            </tr>                            <tr>                                <td>                                    Birth Date                                </td>                                <td>                                    27-Jan-66                                </td>                            </tr>                            <tr>                                <td>                                    Hire Date                                </td>                                <td>                                    15-Nov-94                                </td>                            </tr>                            <tr>                                <td>                                    Home Phone                                </td>                                <td>                                    (71) 555-4444                                </td>                            </tr>                            <tr>                                <td>                                    Address                                </td>                                <td>                                    7 Houndstooth Rd.                                </td>                            </tr>                            <tr>                                <td>                                    Postal Code                                </td>                                <td>                                    WG2 7LT                                </td>                            </tr>                            <tr>                                <td>                                    City                                </td>                                <td>                                    London                                </td>                            </tr>                            <tr>                                <td>                                    Country                                </td>                                <td>                                    UK                                </td>                            </tr>                        </table>                    </div>                </li>            </ul>        </li>        <li>            <img src="../../images/margaret.png" alt="" /><div>                Margaret Peacock</div>            <ul data-role="listmenu">                <li>                    <div style="padding: 5px;" data-role="content">                        <table>                            <tr>                                <td>                                    <img width="50" height="50" src="../../images/margaret.png" alt="" />                                </td>                                <td>                                    <b>Margaret Peacock</b>                                </td>                            </tr>                            <tr>                                <td>                                    Title                                </td>                                <td>                                    Vice President, Sales                                </td>                            </tr>                            <tr>                                <td>                                    Notes                                </td>                                <td>                                    Margaret holds a BA in English literature from Concordia College (1958) and an MA                                    from the American Institute of Culinary Arts (1966). She was assigned to the London                                    office temporarily from July through November 1992.                                </td>                            </tr>                            <tr>                                <td>                                    Birth Date                                </td>                                <td>                                    19-Sep-37                                </td>                            </tr>                            <tr>                                <td>                                    Hire Date                                </td>                                <td>                                    17-Oct-93                                </td>                            </tr>                            <tr>                                <td>                                    Home Phone                                </td>                                <td>                                    (206) 555-8122                                </td>                            </tr>                            <tr>                                <td>                                    Address                                </td>                                <td>                                    4110 Old Redmond Rd.                                </td>                            </tr>                            <tr>                                <td>                                    Postal Code                                </td>                                <td>                                    98052                                </td>                            </tr>                            <tr>                                <td>                                    City                                </td>                                <td>                                    Redmond                                </td>                            </tr>                            <tr>                                <td>                                    Country                                </td>                                <td>                                    USA                                </td>                            </tr>                        </table>                    </div>                </li>            </ul>        </li>        <li>            <img src="../../images/michael.png" alt="" /><div>                Michael Suyama</div>            <ul data-role="listmenu">                <li>                    <div style="padding: 5px;" data-role="content">                        <table>                            <tr>                                <td>                                    <img width="50" height="50" src="../../images/michael.png" alt="" />                                </td>                                <td>                                    <b>Michael Suyama</b>                                </td>                            </tr>                            <tr>                                <td>                                    Title                                </td>                                <td>                                    Sales Representative                                </td>                            </tr>                            <tr>                                <td>                                    Notes                                </td>                                <td>                                    Michael is a graduate of Sussex University (MA, economics, 1983) and the University                                    of California at Los Angeles (MBA, marketing, 1986). He has also taken the courses                                    'Multi-Cultural Selling' and 'Time Management for the Sales Professional.' He is                                    fluent in Japanese and can read and write French, Portuguese, and Spanish.                                </td>                            </tr>                            <tr>                                <td>                                    Birth Date                                </td>                                <td>                                    02-Jul-63                                </td>                            </tr>                            <tr>                                <td>                                    Hire Date                                </td>                                <td>                                    05-June-96                                </td>                            </tr>                            <tr>                                <td>                                    Home Phone                                </td>                                <td>                                    (71) 555-4848                                </td>                            </tr>                            <tr>                                <td>                                    Address                                </td>                                <td>                                    Coventry House                                </td>                            </tr>                            <tr>                                <td>                                    Postal Code                                </td>                                <td>                                    EC2 7JR                                </td>                            </tr>                            <tr>                                <td>                                    City                                </td>                                <td>                                    London                                </td>                            </tr>                            <tr>                                <td>                                    Country                                </td>                                <td>                                    UK                                </td>                            </tr>                        </table>                    </div>                </li>            </ul>        </li>        <li>            <img src="../../images/nancy.png" alt="" /><div>                Nancy Divolio</div>            <ul data-role="listmenu">                <li>                    <div style="padding: 5px;" data-role="content">                        <table>                            <tr>                                <td>                                    <img width="50" height="50" src="../../images/nancy.png" alt="" />                                </td>                                <td>                                    <b>Nancy Davolio</b>                                </td>                            </tr>                            <tr>                                <td>                                    Title                                </td>                                <td>                                    Sales Representative                                </td>                            </tr>                            <tr>                                <td>                                    Notes                                </td>                                <td>                                    Education includes a BA in psychology from Colorado State University in 1970. She                                    also completed 'The Art of the Cold Call.' Nancy is a member of Toastmasters International.                                </td>                            </tr>                            <tr>                                <td>                                    Birth Date                                </td>                                <td>                                    08-Dec-48                                </td>                            </tr>                            <tr>                                <td>                                    Hire Date                                </td>                                <td>                                    01-May-92                                </td>                            </tr>                            <tr>                                <td>                                    Home Phone                                </td>                                <td>                                    (206) 555-9857                                </td>                            </tr>                            <tr>                                <td>                                    Address                                </td>                                <td>                                    507 - 20th Ave. E. Apt. 2A                                </td>                            </tr>                            <tr>                                <td>                                    Postal Code                                </td>                                <td>                                    98122                                </td>                            </tr>                            <tr>                                <td>                                    City                                </td>                                <td>                                    Seattle                                </td>                            </tr>                            <tr>                                <td>                                    Country                                </td>                                <td>                                    USA                                </td>                            </tr>                        </table>                    </div>                </li>            </ul>        </li>        <li>            <img src="../../images/robert.png" alt="" /><div>                Robert King</div>            <ul data-role="listmenu">                <li>                    <div style="padding: 5px;" data-role="content">                        <table>                            <tr>                                <td>                                    <img width="50" height="50" src="../../images/robert.png" alt="" />                                </td>                                <td>                                    <b>Robert King</b>                                </td>                            </tr>                            <tr>                                <td>                                    Title                                </td>                                <td>                                    Sales Representative                                </td>                            </tr>                            <tr>                                <td>                                    Notes                                </td>                                <td>                                    Robert King served in the Peace Corps and traveled extensively before completing                                    his degree in English at the University of Michigan in 1992, the year he joined                                    the company. After completing a course entitled 'Selling in Europe,' he was transferred                                    to the London office in March 1993.                                </td>                            </tr>                            <tr>                                <td>                                    Birth Date                                </td>                                <td>                                    29-May-60                                </td>                            </tr>                            <tr>                                <td>                                    Hire Date                                </td>                                <td>                                    02-Jan-94                                </td>                            </tr>                            <tr>                                <td>                                    Home Phone                                </td>                                <td>                                    (71) 555-5598                                </td>                            </tr>                            <tr>                                <td>                                    Address                                </td>                                <td>                                    Winchester Way                                </td>                            </tr>                            <tr>                                <td>                                    Postal Code                                </td>                                <td>                                    RG1 9SP                                </td>                            </tr>                            <tr>                                <td>                                    City                                </td>                                <td>                                    London                                </td>                            </tr>                            <tr>                                <td>                                    Country                                </td>                                <td>                                    UK                                </td>                            </tr>                        </table>                    </div>                </li>            </ul>        </li>        <li>            <img src="../../images/steven.png" alt="" /><div>                Steven Buchanan</div>            <ul data-role="listmenu">                <li>                    <div style="padding: 5px;" data-role="content">                        <table>                            <tr>                                <td>                                    <img width="50" height="50" src="../../images/steven.png" alt="" />                                </td>                                <td>                                    <b>Steven Buchanan</b>                                </td>                            </tr>                            <tr>                                <td>                                    Title                                </td>                                <td>                                    Sales Manager                                </td>                            </tr>                            <tr>                                <td>                                    Notes                                </td>                                <td>                                    Steven Buchanan graduated from St. Andrews University, Scotland, with a BSC degree                                    in 1976. Upon joining the company as a sales representative in 1992, he spent 6                                    months in an orientation program at the Seattle office and then returned to his                                    permanent post in London. He was promoted to sales manager in March 1993. Mr. Buchanan                                    has completed the courses 'Successful Telemarketing' and 'International Sales Management.'                                    He is fluent in French.                                </td>                            </tr>                            <tr>                                <td>                                    Birth Date                                </td>                                <td>                                    04-Mar-55                                </td>                            </tr>                            <tr>                                <td>                                    Hire Date                                </td>                                <td>                                    02-May-94                                </td>                            </tr>                            <tr>                                <td>                                    Home Phone                                </td>                                <td>                                    (71) 555-5598                                </td>                            </tr>                            <tr>                                <td>                                    Address                                </td>                                <td>                                    908 W. Capital Way                                </td>                            </tr>                            <tr>                                <td>                                    Postal Code                                </td>                                <td>                                    98052                                </td>                            </tr>                            <tr>                                <td>                                    City                                </td>                                <td>                                    Redmond                                </td>                            </tr>                            <tr>                                <td>                                    Country                                </td>                                <td>                                    USA                                </td>                            </tr>                        </table>                    </div>                </li>            </ul>        </li>    </ul></body></html>
back | Method |
Navigates to the previous page. #### Code example Invoke the back method.
    $("#jqxListMenu").jqxListMenu('back');