转载来源: https://blog.csdn.net/chq00788/article/details/51505519 function selectRows(){ //获取需要选中的记录ID '); //获取数据列表中的所有数据 var rows = $("#dataTable1").datagrid("getRows"); //循环数据找出列表中ID和需要选中数据的ID相等的数据并选中 ;i<rows.length;i++){ var rowId
» Create column groups in DataGrid The easyui DataGrid has ability to group columns, as the following example shows: View Demo In this example, we use flat data to populate the DataGrid data, and group the listprice,unitcost,addr1,status columns unde