jQWidgets
  • Documentation
  • License and Pricing
  • Services
  • Community
    • Forums
    • Blogs
    • Follow Us
    • Client Login
  • About
    • About Us
    • Contact Us
    • FAQ
  • Demo
  • Download

React UI Components

  • Javascript/jQuery
  • Angular
  • Vue
  • React
  • Custom Elements
  • ASP .NET MVC
  • Showcase Demos
  • Responsive Design
  • Theme Builder
Show Demo List

React UI Components

  • jqxGrid
  • jqxTabs
  • jqxTextArea
  • jqxWindow
  • jqxKnob
  • jqxResponsivePanel
  • jqxChart
  • jqxMenu
  • jqxInput
  • jqxDocking
  • jqxGauge
  • jqxNavBar
  • jqxPivotGrid
  • jqxTree
  • jqxPasswordInput
  • jqxNotification
  • jqxBarGauge
  • jqxSortable
  • jqxScheduler
  • jqxNavigationBar
  • jqxMaskedInput
  • jqxPopOver
  • jqxExpander
  • jqxLoader
  • jqxTreeGrid
  • jqxListMenu
  • jqxComplexInput
  • jqxTooltip
  • jqxRating
  • jqxDraw
  • jqxDataTable
  • jqxToolBar
  • jqxFormattedInput
  • jqxColorPicker
  • jqxRangeSelector
  • jqxDragDrop
  • jqxTreeMap
  • jqxComboBox
  • jqxNumberInput
  • jqxScrollView
  • jqxSlider
  • jqxPanel
  • jqxEditor
  • jqxDropDownList
  • jqxDateTimeInput
  • jqxProgressBar
  • jqxScrollBar
  • jqxValidator
  • jqxRibbon
  • jqxListBox
  • jqxCalendar
  • jqxFileUpload
  • jqxSplitter
  • jqxValidator
  • jqxLayout
  • jqxButtons
  • jqxKanban
  • jqxBulletChart
  • jqxDockingLayout

jqxMenu

  • Default Functionality
  • Context Menu
  • Vertical Menu
  • Minimized Menu
  • Open Direction
  • Columns
  • Images
  • JSON Menu
  • XML Menu
  • Load Menu from Array
  • Center Menu Items
  • Fluid Size
  • Keyboard Navigation
  • Right to Left Layout
Theme:
  • Demo
  • App.htm
  • App.js
ReactJS Menu demo. In this demo the jqxMenu is built from XML data.
  • Sales Representative
  • Owner
  • Order Administrator
  • Marketing Manager
  • Accounting Manager
  • Sales Agent
  • Sales Associate
  • Sales Manager
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title id="Description">
        ReactJS Menu demo. In this demo the jqxMenu is built from XML data.
    </title>
    <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" />
    <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script>
    <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script>
    <script type="text/javascript" src="../jqwidgets/jqxmenu.js"></script>
    <script type="text/javascript" src="../scripts/demos.js"></script>
</head>
<body>
    <div class="example-description" style="margin-bottom:3em">
        ReactJS Menu demo. In this demo the jqxMenu is built from XML data.
    </div>
    <div id="app"></div>
    <script src="../build/menu_xmlmenu.bundle.js"></script>
</body>
</html>

import React from 'react';import ReactDOM from 'react-dom';import JqxMenu from '../../../jqwidgets-react/react_jqxmenu.js';class App extends React.Component {
    render() {
        let source =
            {
                datatype: 'xml',
                datafields: [
                    { name: 'CompanyName', map: 'm\\:properties>d\\:CompanyName' },
                    { name: 'ContactName', map: 'm\\:properties>d\\:ContactName' },
                    { name: 'ContactTitle', map: 'm\\:properties>d\\:ContactTitle' },
                    { name: 'City', map: 'm\\:properties>d\\:City' },
                    { name: 'PostalCode', map: 'm\\:properties>d\\:PostalCode' },
                    { name: 'Country', map: 'm\\:properties>d\\:Country' }
                ],
                root: 'entry',
                record: 'content',
                id: 'm\\:properties>d\\:CustomerID',
                url: '../sampledata/customers.xml',
                async: false
            };
        // create data adapter.
        let dataAdapter = new $.jqx.dataAdapter(source);
        // perform Data Binding.
        dataAdapter.dataBind();
        // get the tree items. The first parameter is the grouping fields. The second parameter is the sub items collection name. The third parameter is the group's name. 
        // Each jqxMenu item has a 'label' property, but in the data source, we have a 'CompanyName' field. The last parameter 
        // specifies the mapping between the 'CompanyName' and 'label' fields.  
        let records = dataAdapter.getGroupedRecords(['ContactTitle', 'ContactName'], 'items', 'label', [{ name: 'ContactName', map: 'label' }]);
        return (
            <JqxMenu width={150} mode={'vertical'} source={records} />
        )
    }
}

ReactDOM.render(<App />, document.getElementById('app'));

  • Maria Anders
  • Thomas Hardy
  • Hanna Moos
  • Victoria Ashworth
  • Elizabeth Brown
  • Maria Anders
  • Thomas Hardy
  • Hanna Moos
  • Victoria Ashworth
  • Elizabeth Brown
  • Ana Trujillo
  • Antonio Moreno
  • Martín Sommer
  • Laurence Lebihan
  • Yang Wang
  • Janine Labrune
  • Ana Trujillo
  • Antonio Moreno
  • Martín Sommer
  • Laurence Lebihan
  • Yang Wang
  • Janine Labrune
  • Christina Berglund
  • Sven Ottlieb
  • Christina Berglund
  • Sven Ottlieb
  • Frédérique Citeaux
  • Francisco Chang
  • Frédérique Citeaux
  • Francisco Chang
  • Elizabeth Lincoln
  • Elizabeth Lincoln
  • Patricio Simpson
  • Ann Devon
  • Patricio Simpson
  • Ann Devon
  • Pedro Afonso
  • Pedro Afonso
  • Roland Mendel
  • Roland Mendel
jQWidgets
  • Facebook
  • Youtube
  • Google +
  • Demo
  • Download
  • Documentation
  • License and Pricing
  • Services
  • Forums
  • About
  • Terms of Use
  • Privacy Policy
  • Contact Us

jQWidgets © 2011-2019. All Rights Reserved.