EasyUI Forum
May 04, 2024, 06:07:13 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 2 [3]
31  General Category / Bug Report / Re: bug on creating over 29 datagrids (columns width) in Internet Explorer. on: March 24, 2014, 11:12:30 AM
i solved this issue changing this code:
Code:
$(ss.join("\n")).appendTo(cc);
setTimeout(function(){
   cc.children("style[easyui]:not(:last)").remove();
},0);

by this:

Code:
cc.children("style[easyui]").remove();
$(ss.join("\n")).appendTo(cc);

what do you think about this? or are you thinking about another solution for this? Please try update plugin.
32  General Category / Bug Report / Re: bug on creating over 29 datagrids (columns width) in Internet Explorer. on: March 24, 2014, 08:51:43 AM
the error is not solved yet when exists more than 28 datagrids on Internet Explorer.
please check this example.

http://jsfiddle.net/eAxT7/
33  General Category / Bug Report / Re: bug on creating over 29 datagrids (columns width) in Internet Explorer. on: March 23, 2014, 03:00:01 PM
Thanks for your reply but in my page i only add the jquery.easyui.min.js file and not plugin by plugin as you said me, are you planning update the jquery.easyui.min.js file with this fixing?
34  General Category / Bug Report / bug on creating over 29 datagrids (columns width) in Internet Explorer. on: March 22, 2014, 04:13:44 PM
I created 35 datagrids but exists an error on datagrid 29 and next ones (the columns do not have the correct width). This error is present on Internet Explorer because has a restriction about css styles (http://blogs.telerik.com/aspnet-ajax/posts/10-05-03/internet-explorer-css-limits.aspx)

Test the next php code. How to solve it?


Code:
<?php    
    
function buildDataGrids() {
        
$style '';
        for (
$index 1$index <= 35$index++) {
            
$style .= "<h2>Basic DataGrid $index</h2>
                        <table class=\"easyui-datagrid\">
                            <thead>
                                <tr>
                                    <th data-options=\"field:'code', width: 200\">Code</th>
                                    <th data-options=\"field:'name', width: 300\">Name</th>
                                    <th data-options=\"field:'price', width: 400\">Price</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>001</td><td>name1</td><td>2323</td>
                                </tr>
                                <tr>
                                    <td>002</td><td>name2</td><td>4612</td>
                                </tr>
                            </tbody>
                        </table>"
;
        }
        
        
        return 
$style;
    }
    
    echo 
buildDataGrids();
?>

<!DOCTYPE html>
<html>
    <head>
    <meta charset="UTF-8">
    <title>Basic DataGrid - jQuery EasyUI Demo</title>
    <link rel="stylesheet" type="text/css" href="jeasyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="jeasyui/themes/icon.css">
    <script type="text/javascript" src="jeasyui/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="jeasyui/jquery.easyui.min.js"></script>
    </head>
    <body>
    </body>
</html>
?>
35  General Category / General Discussion / Reset function on datebox on: February 21, 2014, 09:07:51 AM
I have a problem. I want to update the original value of datebox sometimes and then do reset. I do the following, but does not work.

Code:
$datebox.datebox({ required:true });
$datebox.datebox({value: '21/02/2014'})
$datebox.datebox('reset') // output: "" (PROBLEM)

But this works in the combobox or combotree, for example.

Code:
$combo.combobox({ required:true });
$combo.combobox({value: '1'})
$combo.combobox('reset') // output: "1"
36  General Category / General Discussion / improve on datebox on: January 29, 2014, 04:03:44 PM
When i click on "Next Year" button or "Prev Year" button, the editable input text of year change too, but the year dont update when i click on "Next Month" or "Prev Month" and pass to a new year.

(See the attachemnt Files)


PD: A possible improvement on datebox is a configuration that allows the datebox only dropdown until months and, on that way, the selected value will be a month, like a month calendar
37  General Category / General Discussion / Re: Combobox select default - HOW on: December 26, 2013, 09:15:53 AM
try this

Code:
$items = array();

while($row = mysql_fetch_object($rs)){
     // PSEDUO Code IF 'All' THEN
     $row->selected = true;
     //END IF

    array_push($items, $row);
}
38  General Category / General Discussion / improve on combotree. on: December 20, 2013, 02:37:03 PM
When the multiple and checkbox property of combotree is set in TRUE and I select an item, the dropdown is closing, but i think that the dropdown should not be closed and the selected item should be checked.

Regards.
39  General Category / General Discussion / Re: getChecked method on Treegrid on: December 19, 2013, 04:25:09 PM
It works fine now. Thanks!
40  General Category / General Discussion / Re: getChecked method on Treegrid on: December 18, 2013, 10:30:07 AM
excuse me, but i see that the plugins have been fixed and the jquery.easyui.min.js file has not been fixed yet. can you check that file?
41  General Category / General Discussion / Re: getChecked method on Treegrid on: December 17, 2013, 05:55:05 PM
many thanks for your reply, but then, Is it correct the current behavior of "getChecked" method on treegrid? or are you planning update the library?
42  General Category / General Discussion / getChecked method on Treegrid on: December 17, 2013, 08:25:10 AM
i'm using the "getChecked" method in a treegrid but it's not return the correct checked rows when i check all or uncheck all rows on treegrid. How can i fix this issue?

My code is

Code:

<table id="tg" class="easyui-treegrid"
               data-options="fit:true,
                            striped:true,
                            nowrap:false,
                            pagination:false,
                            idField:'id',
                            treeField:'nombre',
                            rownumbers:true,
                            checkOnSelect:false,
                            singleSelect: false,
                            fitColumns:true">
    <thead>
        <tr>
            <th data-options="field:'check',checkbox: true"></th>
            <th data-options="field:'nombre',width:220,halign:'center',align:'left',sortable:false">Nombre</th>
            <th data-options="field:'descripcion',width:350,halign:'center',align:'left',sortable:false">Descripcion</th>
        </tr>
    </thead>
</table>
43  General Category / Bug Report / Re: combogrid validator on: August 26, 2013, 01:52:11 PM
in my page, i only add the jquery.easyui.min.js file and not plugin by plugin as you said me, are you planning update the jquery.easyui.min.js file with this fixing?. If not, can i modify my jquery.easyui.min.js file with the fixing without any problem? Regards.
44  General Category / Bug Report / combogrid validator on: August 22, 2013, 07:50:14 AM
in the new version 1.3.4, the combogrid not inherit the methods of the combo: validate, enableValidation, disableValidation. It is a bug?
I had to do the following to work:
Quote
$. extend ($. fn.combogrid.methods, {
     validate: function (jq) {
         jq.each return (function () {
             $ (this). combo ('validate');
         });
     }
     enableValidation: function (jq) {
         jq.each return (function () {
             $ (this). combo ('enableValidation');
         });
     }
     disableValidation: function (jq) {
         jq.each return (function () {
             $ (this). combo ('disableValidation');
         });
     }
});
Pages: 1 2 [3]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!