EasyUI Forum
December 20, 2025, 06:59:44 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 / Re: Fix the datagrid header row when sort on: February 20, 2014, 01:44:55 AM
Great! So good! Thank you!
2  General Category / EasyUI for jQuery / Fix the datagrid header row when sort on: February 19, 2014, 10:30:16 PM
Hi,

I want Fix one header row at row 1.
It is easy to sort data from remote, only need  to response the header row to the first row . But how can I show it at row 1 if to sort data form locale.

3  General Category / Bug Report / Re: some question about input type=file on: February 19, 2014, 09:50:04 PM
Thank you, stworthy.

It has a small flaw between $('#fm').form('clear') and $('#fm').form('validate') when the form include input type=file in jquery.form.js version 1.3.5.x .

If I add $('#fm').form('clear') when i initialize the form, Firefox console show "TypeError: _426 is undefined var opts=_426.options;", and $('#fm').form('validate') will not show the error msg  also.

It is all normal when I delete the code $('#fm').form('clear').


4  General Category / Bug Report / some question about input type=file on: February 17, 2014, 05:22:30 AM
hi,
when i test the code, $('#fm').form('clear') has some error when the form  has <input type=file> .

Code:

$('#dlg').dialog('open').dialog('setTitle','upload a xls file');
$("#dlg").panel("move",{top:$(document).scrollTop() + ($(window).height()-250) * 0.5});
//$('#fm').form('clear');// this code has Syntax Error when type of the input element is "file".


    <div id="dlg" class="easyui-dialog" style="width:400px;height:auto;padding:10px 20px"
            closed="true" buttons="#dlg-buttons">
        <div class="ftitle">please select xls file</div>
        <form id="fm" method="post" enctype="multipart/form-data">
            <div class="fitem">
                <label>file:</label>
                <input type="file" name="upload" id="upload"  class="easyui-validatebox" validType="fileType['xls']" required="true" />
                <input type="button" onclick="AddSubmit()" value="submit">
            </div>
        </form>
    </div>


Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!