Easy Tutorial
❮ Jeasyui Datagrid Datagrid4 Jeasyui Dd Basic ❯

jQuery EasyUI Layout - Creating Tabs

This tutorial will demonstrate how to create a Tabs component using easyui. Tabs have multiple panels that can be dynamically added or removed. You can use Tabs to display different entities on the same page.

Tabs only display one panel at a time, each with a title, icon, and close button. When a Tab is selected, the content of the corresponding panel is displayed.

Create Tabs from HTML markup, including a DIV container and some DIV panels.

<div class="easyui-tabs" style="width:400px;height:100px;">
        <div title="First Tab" style="padding:10px;">
            First Tab
        </div>
        <div title="Second Tab" closable="true" style="padding:10px;">
            Second Tab
        </div>
        <div title="Third Tab" iconCls="icon-reload" closable="true" style="padding:10px;">
            Third Tab
        </div>
    </div>

We have created a Tabs component with three panels, where the second and third panels can be closed by clicking the close button.

Download jQuery EasyUI Example

jeasyui-layout-tabs1.zip

❮ Jeasyui Datagrid Datagrid4 Jeasyui Dd Basic ❯