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

jQuery EasyUI DataGrid - Creating a Footer Summary

jQuery EasyUI DataGrid - Creating a Footer Summary

In this tutorial, we will show you how to display a summary information row in the datagrid footer.

To display a footer row, you should set the showFooter property to true, then prepare to define the footer row in the datagrid data. The following is sample data:



    {"total":1,"rows":[{"id":1,"name":"Chai","price":18.00}],"footer":[{"name":"Total","price":18.00}]}

Create the DataGrid



    

        

            

                

                

            

        

    
Product NameUnit Price

A footer row is the same as a displayed data row, so you can display more than one summary in the footer.

Download the jQuery EasyUI example

jeasyui-datagrid-datagrid17.zip