EasyUI Forum
May 05, 2024, 06:25:52 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 / EasyUI for jQuery / Why not support multiline sort in datagrid? on: July 31, 2011, 10:16:09 PM
In easyui 1.2.4 now seem to only sort by one column and can't cancel the sort unless refresh the page.
2  General Category / EasyUI for jQuery / Re: 请问,有什么办法可以只加载部分插件,而不用全部一次加载所有插件 on: July 13, 2011, 06:33:20 PM
easyloader.js
3  General Category / Bug Report / layout bug in jquery-easyui-1.2.4 on: July 13, 2011, 10:07:43 AM
Take care of the red lines in the following code,they will make the datagrid's title display.In jquery-easyui-1.2.3 the bug is also exist

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>jQuery EasyUI</title>
   <link rel="stylesheet" type="text/css" href="themes/default/easyui.css">
   <script type="text/javascript" src="jquery-1.4.4.min.js"></script>
   <script type="text/javascript" src="jquery.easyui.min.js"></script>
   <script>
      $(function(){
         $('#tt').datagrid({
            url: 'datagrid_data.json',
            title: 'DataGrid - ContextMenu',
            width: 600,
            height: 300,
            fitColumns: true,
            columns:[[
               {field:'itemid',title:"Item ID11s",width:80},
               {field:'productid',title:'Product ID',width:100},
               {field:'listprice',title:'List Price',width:80,align:'right'},
               {field:'unitcost',title:'Unit Cost',width:80,align:'right'},
               {field:'attr1',title:'Attribute',width:150},
               {field:'status',title:'Status',width:60,align:'center'}
            ]]
         });
      });
      
     function setTarget(centerURL){ 
       $('#layOutDiv').layout('panel','center').panel({   
         href:centerURL
      });
     } 
   </script>
</head>
<body >
         <div align="center">      
           <div id="layOutDiv" class="easyui-layout" style="width:1023px;height:100%;" >
         <div region="north" border="false" style="height:60px;background:#B3DFDA;">north region</div>
         <div region="center" title="Main Title">
            <table id="tt"></table>
         </div>
      </div>
</div>
</body>
</html>
4  General Category / EasyUI for jQuery / Re: js error -------> message: 'nodeName' is null or not object on: July 13, 2011, 03:26:54 AM
For your suggestion,no error now.Thank you.
5  General Category / EasyUI for jQuery / Re: js error -------> message: 'nodeName' is null or not object on: July 12, 2011, 10:13:21 PM
the part2
6  General Category / EasyUI for jQuery / js error -------> message: 'nodeName' is null or not object on: July 12, 2011, 06:23:44 PM
the following code is right in firefox,but when click "testBtn" in IE will occur js error like this
message: 'nodeName' is null or not object .row 82041540

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>jQuery EasyUI</title>
   <link rel="stylesheet" type="text/css" href="../themes/default/easyui.css">
   <script type="text/javascript" src="../jquery-1.4.4.min.js"></script>
   <script type="text/javascript" src="../jquery.easyui.min.js"></script>
   <script>
     function setTarget(centerURL){ 
       $('#layOutDiv').layout('panel','center').panel({   
         href:centerURL
      });
     } 
   </script>
</head>
<body >
   <div id="layOutDiv" class="easyui-layout" style="width:1023px;height:100%;" >
      <div region="north" border="false" style="height:60px;background:#B3DFDA;">north region</div>
      <div region="center" title="Main Title">
         <a href="#" id="testBtn" onclick="setTarget('datagrid.html')" >test</a>
      </div>
   </div>
</body>
</html>
7  General Category / Bug Report / Re: combogrid's bug in jquery-easyui-1.2.3 visited in ie6 on: July 11, 2011, 08:16:25 PM
I feel the 'easyui-combobox'  is not as well as html's 'select element'  at the present time.
Looking forward to the new Version.
8  General Category / Bug Report / combogrid's bug in jquery-easyui-1.2.3 visited in ie6 on: July 08, 2011, 12:38:44 AM
the following code is just add a line after line55 in "combogrid.html" in demo .
In ie7 or ie8 there is no problem,but in ie6 you will find the bug.(the drop down panel is behind another one)

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>jQuery EasyUI</title>
   <link rel="stylesheet" type="text/css" href="../themes/default/easyui.css">
   <link rel="stylesheet" type="text/css" href="../themes/default/combo.css">
   <link rel="stylesheet" type="text/css" href="../themes/icon.css">
   <script type="text/javascript" src="../jquery-1.4.4.min.js"></script>
   <script type="text/javascript" src="../jquery.easyui.min.js"></script>
   <script>
      $(function(){
         $('#cc').combogrid({
            panelWidth:450,
            value:'006',

            idField:'code',
            textField:'name',
            url:'datagrid_data.json',
            columns:[[
               {field:'code',title:'Code',width:60},
               {field:'name',title:'Name',width:100},
               {field:'addr',title:'Address',width:120},
               {field:'col4',title:'Col41',width:100}
            ]]
         });
      });
      function reload(){
         $('#cc').combogrid('grid').datagrid('reload');
      }
      function setValue(){
         $('#cc').combogrid('setValue', '002');
      }
      function getValue(){
         var val = $('#cc').combogrid('getValue');
         alert(val);
      }
      function disable(){
         $('#cc').combogrid('disable');
      }
      function enable(){
         $('#cc').combogrid('enable');
      }
   </script>
</head>
<body>
   <h1>ComboGrid</h1>
   <div style="margin-bottom:10px;">
      <a href="#" onclick="reload()">reload</a>
      <a href="#" onclick="setValue()">setValue</a>
      <a href="#" onclick="getValue()">getValue</a>
      <a href="#" onclick="disable()">disable</a>
      <a href="#" onclick="enable()">enable</a>
   </div>
   <select id="cc" name="dept" style="width:250px;"></select>
<br/>   <select id="another" name="another" style="width:250px;"></select>
</body>
</html>
9  General Category / EasyUI for jQuery / Re: automatic Data Binding on form does not support radio ? on: July 07, 2011, 12:26:15 AM
when will the next version be Released ?
10  General Category / EasyUI for jQuery / automatic Data Binding on form does not support radio ? on: July 06, 2011, 09:19:29 PM
the following is my test.When click the link named "Load",the radio does not checked.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>jQuery EasyUI</title>
   <link rel="stylesheet" type="text/css" href="../themes/default/easyui.css">
   <script type="text/javascript" src="../jquery-1.4.4.min.js"></script>
   <script type="text/javascript" src="../jquery.easyui.min.js"></script>
   <script type="text/javascript">
      function loaddata(){
         $('#ff').form('load',{
            sex1:'2',
            sex2:'1'
         });
      }
   </script>
</head>
<body>
<h1>Form Demo</h1>
<div>
   <a href="#" onclick="loaddata()">Load</a>
</div>
<div style="background:#fafafa;padding:10px;width:300px;height:300px;">
    <form id="ff" method="post">
        <div>
            sex1
       <select name="sex1"  style="width:80px">
      <option value="1">man</option>
      <option value="2">women</option>
       </select>
        </div>
        <div>
            sex2
            <INPUT type="radio" name="sex2">man
            <INPUT type="radio" name="sex2">women
        </div>
    </form>
</div>
   
</body>
</html>
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!