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

jqxDataTable

  • Default Functionality
  • Data Binding
    • Local Data
    • Remote Data
    • XML Data
    • JSON Data
    • CSV Data
    • TSV Data
  • Rows
    • Row Template
    • Row Details
    • Row Selection & Hover
  • Columns
    • Columns Hierarchy
    • Column Formatting
    • Column Alignment
    • Column Resize
    • Column Reorder
    • Show or Hide Column
    • Pinned(Frozen) Column
    • Column Template
    • Header Template
  • Editing
    • Inline Row
    • Dialog
    • Lock Row
    • Cell Edit
    • Custom Editors
    • Validation
  • Sorting
    • Sorting
    • Server Sorting
    • Sorting API
  • Filtering
    • Filtering
    • Search Field
    • Advanced Filtering
    • Server Filtering
    • Filtering API
  • Paging
    • Paging
    • Server Paging
    • Paging API
  • Master Details
    • Nested Tables
    • Separate Tables
  • Aggregates
    • Aggregates
    • Aggregates Template
  • Grouping
    • Grouping
    • Grouping & Server Paging
  • Data Export
  • Data Printing
  • Localization
  • Conditional Formatting
  • Fluid Size
  • Keyboard Navigation
  • Right to Left Layout
Theme:
  • Demo
  • App.htm
  • App.js
ReactJS DataTable demo. An end-user can easily search through a DataTable's data via the built-in Search Input field. The DataTable automatically filters records and displays only those that match the user's search string.
Loading...
12345678910...
1-10 of 136
Search:
Supplier Name
Supplier Name
Name
Quantity
Price
Address
City
Formaggi Fortini s.r.l.Mozzarella di Giovanni24$34.80Viale Dante, 75Ravenna
Leka TradingSingaporean Hokkien Fried Mee32$14.00471 Serangoon Loop, Suite #402Singapore
Cooperativa de Quesos 'Las Cabras'Queso Cabrales1$21.00Calle del Rosal 4Oviedo
G'day, MateManjimup Dried Apples50$53.00170 Prince Edward Parade Hunter's HillSydney
Mayumi'sTofu40$23.2592 Setsuko Chuo-kuOsaka
PB Knckebrd ABGustaf's Knckebrd24$21.00Kaloadagatan 13Gteborg
G'day, MateManjimup Dried Apples50$53.00170 Prince Edward Parade Hunter's HillSydney
Pasta Buttini s.r.l.Ravioli Angelo24$19.50Via dei Gelsomini, 153Salerno
New Orleans Cajun DelightsLouisiana Fiery Hot Pepper Sauce32$21.05P.O. Box 78934New Orleans
New England Seafood CanneryJack's New England Clam Chowder12$9.65Order Processing Dept. 2100 Paul Revere Blvd.Boston
12345678910...
1-10 of 136
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title id='Description'>
        ReactJS DataTable demo. An end-user can easily search through a DataTable's data via the built-in Search Input field. The DataTable automatically filters records and displays only those that match the user's search string.
    </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/jqxbuttons.js"></script>
    <script type="text/javascript" src="../jqwidgets/jqxscrollbar.js"></script>
    <script type="text/javascript" src="../jqwidgets/jqxdatatable.js"></script>
    <script type="text/javascript" src="../jqwidgets/jqxcheckbox.js"></script>
    <script type="text/javascript" src="../jqwidgets/jqxlistbox.js"></script>
    <script type="text/javascript" src="../jqwidgets/jqxdropdownlist.js"></script>
    <script type="text/javascript" src="../scripts/demos.js"></script>
</head>
<body>
    <div class="example-description" style="margin-bottom:3em">
        ReactJS DataTable demo. An end-user can easily search through a DataTable's data via the built-in Search Input field. The DataTable automatically filters records and displays only those that match the user's search string.
    </div>
    <div id="app"></div>
    <script src="../build/datatable_searchfield.bundle.js"></script>
</body>
</html>

import React from 'react';import ReactDOM from 'react-dom';import JqxDataTable from '../../../jqwidgets-react/react_jqxdatatable.js';class App extends React.Component {
    render() {
        let source =
            {
                datatype: 'xml',
                dataFields: [
                    { name: 'SupplierName', type: 'string' },
                    { name: 'Quantity', type: 'number' },
                    { name: 'OrderDate', type: 'date' },
                    { name: 'OrderAddress', type: 'string' },
                    { name: 'Freight', type: 'number' },
                    { name: 'Price', type: 'number' },
                    { name: 'City', type: 'string' },
                    { name: 'ProductName', type: 'string' },
                    { name: 'Address', type: 'string' }
                ],
                url: '../sampledata/orderdetailsextended.xml',
                root: 'DATA',
                record: 'ROW'
            };

        let dataAdapter = new $.jqx.dataAdapter(source);

        let columns =
            [
                { text: 'Supplier Name', cellsAlign: 'center', align: 'center', dataField: 'SupplierName', width: 250 },
                { text: 'Name', columngroup: 'ProductDetails', cellsAlign: 'center', align: 'center', dataField: 'ProductName', width: 250 },
                { text: 'Quantity', columngroup: 'ProductDetails', dataField: 'Quantity', cellsformat: 'd', cellsAlign: 'center', align: 'center', width: 80 },
                { text: 'Price', columngroup: 'ProductDetails', dataField: 'Price', cellsformat: 'c2', align: 'center', cellsAlign: 'center', width: 70 },
                { text: 'Address', columngroup: 'Location', cellsAlign: 'center', align: 'center', dataField: 'Address', width: 120 },
                { text: 'City', columngroup: 'Location', cellsAlign: 'center', align: 'center', dataField: 'City' }
            ];

        return (
            <JqxDataTable
                width={850} height={400} source={dataAdapter} altRows={true}
                pageable={true} filterable={true} columns={columns}
                pagerButtonsCount={10} filterMode={'simple'}
            />
        )
    }
}

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

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.