jQuery EasyUI DataGrid - Converting an HTML Table to a DataGrid
This example demonstrates how to convert a table into a datagrid.
The datagrid's column information and data are defined in the table markup. Make sure to set the field name for all data columns, see the example below:
Col 1
Col 2
Col 3
Col 4
Col 5
Col 6
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Great, you can define a complex header, for example:
Col 1
Col 2
Col 3
Details
Col 4
Col 5
Col 6
Now you can see that the complex header has been created.