4b8cb190472e1db5fc527aa9acf56f60d3d002d4.svn-base 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Multiple ComboGrid - jQuery EasyUI Demo</title>
  6. <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
  7. <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
  8. <link rel="stylesheet" type="text/css" href="../demo.css">
  9. <script type="text/javascript" src="../../jquery.min.js"></script>
  10. <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
  11. </head>
  12. <body>
  13. <h2>Multiple ComboGrid</h2>
  14. <p>Click the right arrow button to show the DataGrid and select items.</p>
  15. <div style="margin:20px 0"></div>
  16. <select class="easyui-combogrid" style="width:250px" data-options="
  17. panelWidth: 500,
  18. multiple: true,
  19. idField: 'itemid',
  20. textField: 'productname',
  21. url: 'datagrid_data1.json',
  22. method: 'get',
  23. columns: [[
  24. {field:'ck',checkbox:true},
  25. {field:'itemid',title:'Item ID',width:80},
  26. {field:'productname',title:'Product',width:120},
  27. {field:'listprice',title:'List Price',width:80,align:'right'},
  28. {field:'unitcost',title:'Unit Cost',width:80,align:'right'},
  29. {field:'attr1',title:'Attribute',width:200},
  30. {field:'status',title:'Status',width:60,align:'center'}
  31. ]],
  32. fitColumns: true
  33. ">
  34. </select>
  35. </body>
  36. </html>