Treelist - Unordered list

Choose demo
$(function () {

    $('#demo').mobiscroll().treelist({
        theme: '',
        lang: '',
        placeholder: 'Please Select ...',
        width: 200
    });
});
<ul id="demo" style="display:none">
    <li>Sugar</li>
    <li>Salt</li>
    <li>Butter</li>
    <li>Flour</li>
    <li>Chocolate</li>
</ul>

Treelist - Ordered list

Choose demo
$(function () {

    $('#demo').mobiscroll().treelist({
        theme: '',
        lang: '',
        placeholder: 'Please Select ...',
        labels: ['Country', 'Medals'],
        showLabel: true
    });
});
<ol id="demo" style="display:none">
    <li>USA
        <ol>
            <li>104</li>
        </ol>
    </li>
    <li>China
        <ol>
            <li>88</li>
        </ol>
    </li>
    <li>Russia
        <ol>
            <li>82</li>
        </ol>
    </li>
    <li>Great Britain
        <ol>
            <li>65</li>
        </ol>
    </li>
    <li>Germany
        <ol>
            <li>44</li>
        </ol>
    </li>
</ol>

Treelist - Event handlers

Choose demo
$(function () {

    $('#demo').mobiscroll().treelist({
        theme: '',
        lang: '',
        labels: ['Ingredients'],
        placeholder: 'Please Select ...',
        width: 200,
        onInit: function (event, inst) {
            // Your custom event handler goes here
        },
        onMarkupReady: function (event, inst) {
            // Your custom event handler goes here
        },
        onBeforeShow: function (event, inst) {
            // Your custom event handler goes here
        },
        onPosition: function (event, inst) {
            // Your custom event handler goes here
        },
        onShow: function (event, inst) {
            // Your custom event handler goes here
        },
        onSet: function (event, inst) {
            // Your custom event handler goes here
        },
        onItemTap: function (event, inst) {
            // Your custom event handler goes here
        },
        onDestroy: function (event, inst) {
            // Your custom event handler goes here
        },
        onClose: function (event, inst) {
            // Your custom event handler goes here
        },
        onChange: function (event, inst) {
            // Your custom event handler goes here
        },
        onCancel: function (event, inst) {
            // Your custom event handler goes here
        },
        onBeforeClose: function (event, inst) {
            // Your custom event handler goes here
        },
        onClear: function (event, inst) {
            // Your custom event handler goes here
        }
    });
});
<ul id="demo" class="mbsc-cloak">
    <li>Sugar</li>
    <li>Salt</li>
    <li>Butter</li>
    <li>Flour</li>
    <li>Chocolate</li>
</ul>
Clear event log
EVENTS FIRED: 

Treelist - Theming capabilities

Choose demo
mobiscroll.settings = {
    theme: '',
    lang: ''
};

$(function () {

    function refreshForm() {
        $('#demo-form').mobiscroll('refresh');
    }

    $('#demo-ios').mobiscroll().treelist({
        theme: 'ios',
        minWidth: 200,
        placeholder: 'Please Select ...',
        onInit: function () {
            refreshForm();
        }
    });

    $('#demo-ios-dark').mobiscroll().treelist({
        theme: 'ios-dark',
        minWidth: 200,
        placeholder: 'Please Select ...',
        onInit: function () {
            refreshForm();
        }
    });

    $('#demo-material').mobiscroll().treelist({
        theme: 'material',
        minWidth: 200,
        placeholder: 'Please Select ...',
        onInit: function () {
            refreshForm();
        }
    });

    $('#demo-material-dark').mobiscroll().treelist({
        theme: 'material-dark',
        minWidth: 200,
        placeholder: 'Please Select ...',
        onInit: function () {
            refreshForm();
        }
    });

    $('#demo-windows').mobiscroll().treelist({
        theme: 'windows',
        minWidth: 200,
        placeholder: 'Please Select ...',
        onInit: function () {
            refreshForm();
        }
    });

    $('#demo-windows-dark').mobiscroll().treelist({
        theme: 'windows-dark',
        minWidth: 200,
        placeholder: 'Please Select ...',
        onInit: function () {
            refreshForm();
        }
    });

    $('#demo-mobiscroll').mobiscroll().treelist({
        theme: 'mobiscroll',
        minWidth: 200,
        placeholder: 'Please Select ...',
        onInit: function () {
            refreshForm();
        }
    });

    $('#demo-mobiscroll-dark').mobiscroll().treelist({
        theme: 'mobiscroll-dark',
        minWidth: 200,
        placeholder: 'Please Select ...',
        onInit: function () {
            refreshForm();
        }
    });

    $('#demo-form').mobiscroll().form();

});
<div id="demo-form">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">iOS Theme</div>
        <label>
            Light
            <ul id="demo-ios" class="mbsc-cloak">
                <li>Sugar</li>
                <li>Salt</li>
                <li>Butter</li>
                <li>Flour</li>
                <li>Chocolate</li>
            </ul>
        </label>
        <label>
            Dark
            <ul id="demo-ios-dark" class="mbsc-cloak">
                <li>Sugar</li>
                <li>Salt</li>
                <li>Butter</li>
                <li>Flour</li>
                <li>Chocolate</li>
            </ul>
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Material Theme</div>
        <label>
            Light
            <ul id="demo-material" class="mbsc-cloak">
                <li>Sugar</li>
                <li>Salt</li>
                <li>Butter</li>
                <li>Flour</li>
                <li>Chocolate</li>
            </ul>
        </label>
        <label>
            Dark
            <ul id="demo-material-dark" class="mbsc-cloak">
                <li>Sugar</li>
                <li>Salt</li>
                <li>Butter</li>
                <li>Flour</li>
                <li>Chocolate</li>
            </ul>
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Windows Theme</div>
        <label>
            Light
            <ul id="demo-windows" class="mbsc-cloak">
                <li>Sugar</li>
                <li>Salt</li>
                <li>Butter</li>
                <li>Flour</li>
                <li>Chocolate</li>
            </ul>
        </label>
        <label>
            Dark
            <ul id="demo-windows-dark" class="mbsc-cloak">
                <li>Sugar</li>
                <li>Salt</li>
                <li>Butter</li>
                <li>Flour</li>
                <li>Chocolate</li>
            </ul>
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Mobiscroll Theme</div>
        <label>
            Light
            <ul id="demo-mobiscroll" class="mbsc-cloak">
                <li>Sugar</li>
                <li>Salt</li>
                <li>Butter</li>
                <li>Flour</li>
                <li>Chocolate</li>
            </ul>
        </label>
        <label>
            Dark
            <ul id="demo-mobiscroll-dark" class="mbsc-cloak">
                <li>Sugar</li>
                <li>Salt</li>
                <li>Butter</li>
                <li>Flour</li>
                <li>Chocolate</li>
            </ul>
        </label>
    </div>
</div>

Treelist - Display modes

Choose demo
mobiscroll.settings = {
    lang: '',
    theme: ''
};

$(function () {

    function refreshForm() {
        $('#demo-form').mobiscroll('refresh');
    }

    $('#demo-bottom').mobiscroll().treelist({
        display: 'bottom',
        placeholder: 'Please select...',
        onInit: function () {
            refreshForm()
        }
    });

    $('#demo-top').mobiscroll().treelist({
        display: 'top',
        placeholder: 'Please select...',
        onInit: function () {
            refreshForm()
        }
    });

    $('#demo-center').mobiscroll().treelist({
        display: 'center',
        placeholder: 'Please select...',
        onInit: function () {
            refreshForm()
        }
    });

    $('#demo-bubble').mobiscroll().treelist({
        display: 'bubble',
        placeholder: 'Please select...',
        onInit: function () {
            refreshForm()
        }
    });

    $('#demo-inline').mobiscroll().treelist({
        display: 'inline',
        layout: 'liquid',
        placeholder: 'Please select...',
        showInput: false
    });

    $('#demo-form').mobiscroll().form();

});
<div id="demo-form">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Try different display modes</div>
        <label>
            Bottom
            <ul id="demo-bottom" class="mbsc-cloak">
                <li>America
                    <ul>
                        <li>Mexico</li>
                        <li>Brasil</li>
                    </ul>
                </li>
                <li>Europe
                    <ul>
                        <li>Germany</li>
                        <li>France</li>
                        <li>Italy</li>
                    </ul>
                </li>
                <li>Asia
                    <ul>
                        <li>China</li>
                    </ul>
                </li>
            </ul>
        </label>
        <label>
            Top
            <ul id="demo-top" class="mbsc-cloak">
                <li>America
                    <ul>
                        <li>Mexico</li>
                        <li>Brasil</li>
                    </ul>
                </li>
                <li>Europe
                    <ul>
                        <li>Germany</li>
                        <li>France</li>
                        <li>Italy</li>
                    </ul>
                </li>
                <li>Asia
                    <ul>
                        <li>China</li>
                    </ul>
                </li>
            </ul>
        </label>
        <label>
            Center
            <ul id="demo-center" class="mbsc-cloak">
                <li>America
                    <ul>
                        <li>Mexico</li>
                        <li>Brasil</li>
                    </ul>
                </li>
                <li>Europe
                    <ul>
                        <li>Germany</li>
                        <li>France</li>
                        <li>Italy</li>
                    </ul>
                </li>
                <li>Asia
                    <ul>
                        <li>China</li>
                    </ul>
                </li>
            </ul>
        </label>
        <label>
            Bubble
            <ul id="demo-bubble" class="mbsc-cloak">
                <li>America
                    <ul>
                        <li>Mexico</li>
                        <li>Brasil</li>
                    </ul>
                </li>
                <li>Europe
                    <ul>
                        <li>Germany</li>
                        <li>France</li>
                        <li>Italy</li>
                    </ul>
                </li>
                <li>Asia
                    <ul>
                        <li>China</li>
                    </ul>
                </li>
            </ul>
        </label>
    </div>
    <div class="mbsc-form-group mbsc-padding">
        <p class="mbsc-thin">With inline display you can embed the treelist component in almost any markup or form.</p>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Embedded treelist scroller</div>
        <ul id="demo-inline" class="mbsc-cloak">
            <li>America
                <ul>
                    <li>Mexico</li>
                    <li>Brasil</li>
                </ul>
            </li>
            <li>Europe
                <ul>
                    <li>Germany</li>
                    <li>France</li>
                    <li>Italy</li>
                </ul>
            </li>
            <li>Asia
                <ul>
                    <li>China</li>
                </ul>
            </li>
        </ul>
    </div>
</div>

Treelist - Basic usage

Choose demo
$(function () {

    $('#demo').mobiscroll().treelist({
        lang: '',
        theme: '',
        display: 'center',
        width: [156, 136, 146],
        placeholder: 'Please Select ...',
        labels: ['Region', 'Department', 'Tech']
    });
});
<ul id="demo" style="display:none">
    <li data-val="Eastern Division">East Division
        <ul>
            <li data-val="Marketing">Marketing
                <ul>
                    <li data-val="Eden E">Eden E</li>
                    <li data-val="Milda J">Milda J</li>
                    <li data-val="Porfirio R">Porfirio R</li>
                </ul>
            </li>
            <li data-val="Research & Development">R&D
                <ul>
                    <li data-val="Frances P">Frances P</li>
                    <li data-val="Frank D">Frank D</li>
                    <li data-val="Gianny P">Gianny P</li>
                    <li data-val="Ivan F">Ivan F</li>
                    <li data-val="John M">John M</li>
                    <li data-val="Mildred S">Mildred S</li>
                    <li data-val="Sam P">Sam P</li>
                </ul>
            </li>
            <li data-val="Sales">Sales
                <ul>
                    <li data-val="Edelmira R">Edelmira R</li>
                    <li data-val="Francie S">Francie S</li>
                    <li data-val="Lean F">Lean F</li>
                    <li data-val="Kirby C">Kirby C</li>
                </ul>
            </li>
        </ul>
    </li>
    <li data-val="Western Division">West Division
        <ul>
            <li data-val="Marketing">Marketing
                <ul>
                    <li data-val="Cliff B">Cliff B</li>
                    <li data-val="Helen D">Helen D</li>
                    <li data-val="Stephan V">Stephan V</li>
                </ul>
            </li>
            <li data-val="Research & Development">R&D
                <ul>
                    <li data-val="Andy G">Andy G</li>
                    <li data-val="Danny A">Danny A</li>
                    <li data-val="Ennio M">Ennio M</li>
                    <li data-val="Emil E">Emil E</li>
                    <li data-val="Frank S">Frank S</li>
                    <li data-val="Gonzo G">Gonzo G</li>
                    <li data-val="Hal A">Hal A</li>
                    <li data-val="Jack G">Jack G</li>
                    <li data-val="John A">John A</li>
                    <li data-val="Simon D">Simon D</li>
                    <li data-val="Victor S">Victor S</li>
                </ul>
            </li>
            <li data-val="Sales">Sales
                <ul>
                    <li data-val="Dana A">Dana A</li>
                    <li data-val="Frank D">Frank D</li>
                    <li data-val="Leanna S">Leanna S</li>
                    <li data-val="Michael D">Michael D</li>
                </ul>
            </li>
        </ul>
    </li>
</ul>
light
dark
light
dark

Looking for something you didn't see or have a sales question?
Ask us about it, we're here to help.

Component license


Purchase component licenses if you are looking for specific funcionality.

Total


All features will be included with the license.

Buy component license

Framework license


Get all 35 components, including with the Framework license.



Mobiscroll for JQuery $395


Use Javascript when building with plain and simple JS. Use jQuery when you have jQuery already included or if you are building with jQuery Mobile. Use AngularJS when building with Angular 1.x or Ionic 1. Use Angular when building with Angular 2/4/5/6 or Ionic 2/3/4. Use it when you are building your app or website with React.


Buy framework license
See other licensing options

Framework license


Get all 35 components, including with the Framework license.



Mobiscroll for JQuery $395


  • Use it when building with plain and simple JS
  • Compatible with vanilla JS app or frameworks like Vue
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with jQuery and jQuery Mobile
  • Enjoy the familiar API if you already use jQuery
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular JS and Ionic 1
  • For web and mobile apps based on Angular 1.x
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular 2/4/5/6 and Ionic 2/3/4
  • Visual Studio and VS Code integration
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it when building with React JS
  • Collection of UI components for web and mobile
  • Royalty-free commercial usage
  • Technical support is included with the license
Buy framework license
See other licensing options

Framework license


Select the development framework you are using. Get all 35 components with the license.

Mobiscroll for Javascript
Mobiscroll for jQuery
Mobiscroll for React
Mobiscroll for Angular
Mobiscroll for Angular JS
  • Use it when building with plain and simple JS
  • Compatible with vanilla JS app or frameworks like Vue
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with jQuery and jQuery Mobile
  • Enjoy the familiar API if you already use jQuery
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular JS and Ionic 1
  • For web and mobile apps based on Angular 1.x
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular 2/4/5/6 and Ionic 2/3/4
  • Visual Studio and VS Code integration
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it when building with React JS
  • Collection of UI components for web and mobile
  • Royalty-free commercial usage
  • Technical support is included with the license
Buy framework license
See other licensing options

Select the framework you are interested in

Javascript
jQuery
Angular
Angular JS
React

Use Javascript when building with plain and simple JS.

Use jQuery when you have jQuery already included or if you are building with jQuery Mobile.

Use AngularJS when building with Angular 1.x or Ionic 1.

Use Angular when building with Angular 2/4/5/6 or Ionic 2/3/4.

Use it when you are building your app or website with React.

Do you need additional support seats?

The framework license comes with one support seat. ( +$50/seat )

Add the source code?

Price
Buy now
Customize & try demos locally
Sign in or start your free 30 day trial

What framework are you using?

Javascript
jQuery
AngularJS
Angular
Ionic
React
Other
Select a framework
Select a framework
Email address
Select a framework

Customize & try demos locally
You can download and use Mobiscroll Forms for Free

What framework are you using?

Javascript
jQuery
AngularJS
Angular
Ionic
React
Other
Select a framework
Install demo in your app
Follow steps to install mobiscroll and use example
Close window

Step 1.

Install the Mobiscroll CLI from npm (skip this step if it's already installed).

Copy command
$ npm install -g @mobiscroll/cli

Step 2.

Run the config command in the root folder of the Ionic project.
You will be prompted to log in with your mobiscroll account (set password here).
If you don't have an app, create a starter with the Ionic CLI $ ionic start myStarterApp tabs

Copy command
$ mobiscroll config ionic
$ mobiscroll config ionic --lite
If your app is using lazy loading, add --lite --lazy.

Step 3.

Copy the code into your app.
The HTML goes into the markup, the Typescript into the TS file and the CSS into the page stylesheet (scss file).

Copy TS
Copy HTML
Copy CSS

Run ionic serve in the root folder of your app.

Copy command
$ ionic serve

Looking for an already configured app? Download kitchen sink for Ionic

Thanks for downloading
Try and customize the app locally

Extract the zip file and run the project like any Ionic app. Make sure to have Ionic CLI installed and open the terminal in the app root folder.

Step 1. Run in root folder
$ npm install
Step 2. Start the app
$ ionic serve

Let us know if we can help and enjoy!

Change your password
Need to update your password? Enter and hit the button below

You are setting a password for the account

New Password Required Enter at least 6 characters
Change your password
Need to update your password? Enter and hit the button below

Your password has been changed!

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

Extract the zip file and open the demo in your favorite browser. To install Mobiscroll in your project follow instructions from this page.


Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

The demo is using an in-browser TypeScript transpiler app as its base. Extract the zip file and open the index.html on your local dev server.

You can also use live-server. For installation and usage, open a terminal window and follow these steps.

Step 1. Install live-server
$ npm install -g live-server
Step 2. Start server & run app
$ live-server

Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

The easiest way to get started is to follow the installation steps and by grabbing the code directly from the demo page. Let us know if we can help and enjoy!

You'll find a fully functional Kitchen-sink Ionic app in the zip file.

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

The demos are using Babel's in-browser ES6 and JSX transformer. Extract the zip file and open the demo in your browser. To install Mobiscroll in your project follow instructions from this page.


Let us know if we can help and enjoy! 👍

Demos
Controls
Calendar 20
Cards 10
Color 9
Date & Time 14
Event Calendar 16
Forms 21
Image 6
Listview 17
Measurement 10
Navigation 7
Number 7
Numpad 12
Option List 4
Range 17
Scroller 6
Scrollview 5
Select 13
Styling 4
Timer 5
Timespan 6
Treelist 6
Widget 10
Theme Select
Mobiscroll
Mobiscroll Dark
Material
Material Dark
iOS
iOS Dark
Bootstrap
Windows
Windows Dark
Display Mode
Language Locale
See other demos and change options
Theme
Display
Locale
See other demos