EasyUI Forum
May 05, 2024, 08:16:29 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Bug Report / datagrid issue on: November 13, 2018, 06:35:27 PM
Please try below code. The datadrid only show one time, next time it doesn't work. Version 1.5.1 has no this issue.
<script>
      function Opentest(){
         InitGrid();
         $('#dialog').dialog('open').dialog('setTitle', 'Test');
      }
      
      function InitGrid(){
         $('#grid').datagrid({
            singleSelect:true,
            collapsible:true,
            //url:'datagrid_data1.json',
            //method:'get',
            columns: [[
               { field: 'itemid', title: 'Item ID' },
               { field: 'productid', title: 'Product' },
               { field: 'listprice', title: 'List Price' },
               { field: 'unitcost', title: 'Unit Cost' },
               { field: 'attr1', title: 'Attribute' },
               { field: 'status', title: 'Status' },
               ]],
            });
            
         $('#grid').datagrid('loadData', { total: 0, rows: [] });
         //GridAppend();
      }
   </script>
</head>
<body>
   <div style="padding:5px 0;">
      <a href="javascript:Opentest();" class="easyui-linkbutton" data-options="iconCls:'icon-add'">Add</a>
   </div>

   <div id="dialog" class="easyui-dialog" style="width: 1060px; padding: 1px; overflow-y:scroll; height:auto;" closed="true" resizable="true" modal="true" data-options="iconCls: 'icon-batchadd', buttons: '#dlg-buttons'">
      <form id="form" method="post" novalidate="novalidate">
         <table id="grid" class="easyui-datagrid" title="Basic DataGrid" style="width:700px;height:250px"></table>
      </form>
   </div>
</body>
2  General Category / Bug Report / combobox issue on: February 01, 2018, 02:00:19 AM
The new vision 1.5.4.1. When I use Combobox onSelect event on IE 11, I can't get value through getValue method. Always blank value. The 1.5.3 version is OK.
3  General Category / Bug Report / Re: combobox can't click scroll bar on: June 26, 2017, 06:06:54 PM
<input class="easyui-combobox" type="text" id="txtEMRCountryOfOriginEdit" name="EMRCountryOfOrigin" data-options="valueField: 'Value', textField: 'Code', url: '/ValueCode/GetCodeList?field=EMRCountryOfOrigin', limitToList: true" />
4  General Category / Bug Report / combobox can't click scroll bar on: June 25, 2017, 10:33:17 PM
When combobox limitToList is set to true, I can't click scroll bar to select later content, and only can use mouse wheel.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!