Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery EasyUI DataGrid - Creating a Complex Toolbar

jQuery EasyUI DataGrid - Creating a Complex Toolbar

The datagrid's toolbar can contain buttons and other components. You can simply define the toolbar layout through an existing DIV tag, which will become the content of the datagrid toolbar. This tutorial will show you how to create a complex toolbar for the datagrid component.

Create the toolbar (Toolbar)



    
        
                                                                         
        
            Date From:             To:             Language:                          Search         
    

Create the DataGrid



    

        

            

                

                

                

                

                

                

            

        

    
Item IDProduct IDList PriceUnit CostAddressStatus

As you can see, the datagrid's toolbar is similar to the dialog's. We do not need to write any JavaScript code to create a datagrid with a complex toolbar.

Download the jQuery EasyUI example

jeasyui-datagrid-datagrid19.zip