jQuery EasyUI DataGrid - Creating Column Groups
The easyui DataGrid can create column groups, as shown below:
In this example, we use flat data to populate the DataGrid, and group the listprice, unitcost, addr1, and status columns under a single column.
To create column groups, you should define the columns data of the datagrid plugin. Each element of columns defines a group of cells that can be combined using the rowspan or colspan properties.
The following code implements the example above:
Item ID
Product ID
Item Details
List Price
Unit Cost
Attribute
Stauts