EasyUI Forum
May 04, 2024, 07:52:50 PM *
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
1  General Category / EasyUI for Vue / Re: how to change another language on: April 19, 2019, 12:59:45 PM
Thanks Jarry!
2  General Category / EasyUI for Vue / how to change another language on: April 14, 2019, 08:07:29 AM
Hello!
I see locate dir in dist folder.
How I can change another language?

this is not working Sad
import  "vx-easyui/dist/locale/easyui-lang-ru.js";
3  General Category / EasyUI for Vue / filterable on: March 24, 2019, 07:17:28 AM
Hi!
You have filtering example for vue.js


 <DataGrid ref="dg" :data="data" :filterable="true" style="min-width:700px;height:250px">


If i set filterable as variable, and edit this variable, reactivity does not work Sad
4  General Category / EasyUI for Vue / Re: datagrid resize column on: March 24, 2019, 07:13:20 AM
Thanks!
5  General Category / EasyUI for Vue / datagrid resize column on: March 23, 2019, 01:41:48 PM
Hello!
I see jquery demo, angular demo, react demo.

They all can resize column in datagrid. But Vue version can't.

Anybody have solution?
Thanks.
6  General Category / Bug Report / Re: datagrid getSelections and enableCellEditing conflict on: July 06, 2016, 07:08:20 AM
If I have checkbox in my grid,
Code:
    {field: 'ck', checkbox: true},
And click on checkbox, my grid freeze too
7  General Category / Bug Report / Re: datagrid getSelections and enableCellEditing conflict on: March 15, 2016, 09:36:28 AM
Uff, disableCellEditing

But, when I call disableCellEditing and clicked on row my app is freezing
8  General Category / Bug Report / Re: datagrid getSelections and enableCellEditing conflict on: March 15, 2016, 04:34:21 AM
Thanks.
And I have one question.
How I can disable cell editing?
9  General Category / Bug Report / datagrid getSelections and enableCellEditing conflict on: March 14, 2016, 05:19:29 AM
Hello, I have one bug:

if my rows is editable and I have this code:
Code:
    $('#data').datagrid('enableCellEditing').datagrid('gotoCell', {
        index: 0,
        field: 'id'
    });
Then
Code:
$('#data').datagrid('getSelections');
is not work and return empty data.



10  General Category / Bug Report / Re: datagrid cellediting and datagrid subgrid conflict on: November 19, 2015, 09:08:17 AM
Hm, it seems to work.
But, if I collapse parent row, and expand, my browser is freeze

Quote
19:01:17.973 Error: Script terminated by timeout at:
U@http://code.jquery.com/jquery-1.4.4.min.js:16:278
c.event.handle@http://code.jquery.com/jquery-1.4.4.min.js:63:422
c.event.add/o@http://code.jquery.com/jquery-1.4.4.min.js:56:474
c.event.trigger@http://code.jquery.com/jquery-1.4.4.min.js:61:153
.trigger/<@http://code.jquery.com/jquery-1.4.4.min.js:74:288
c</<.each@http://code.jquery.com/jquery-1.4.4.min.js:33:44
c</b.prototype.each@http://code.jquery.com/jquery-1.4.4.min.js:26:386
.trigger@http://code.jquery.com/jquery-1.4.4.min.js:74:267
c.fn@http://code.jquery.com/jquery-1.4.4.min.js:77:311
editCell@http://www.jeasyui.com/easyui/datagrid-cellediting.js:202:6
.editCell/<@http://www.jeasyui.com/easyui/datagrid-cellediting.js:296:5
c</<.each@http://code.jquery.com/jquery-1.4.4.min.js:33:44
c</b.prototype.each@http://code.jquery.com/jquery-1.4.4.min.js:26:386
.editCell@http://www.jeasyui.com/easyui/datagrid-cellediting.js:295:1
$.fn.datagrid@http://www.jeasyui.com/easyui/jquery.easyui.min.js:91 jquery-1.4.4.min.js:16:278
11  General Category / Bug Report / Re: datagrid cellediting and datagrid subgrid conflict on: November 19, 2015, 06:19:56 AM
jsfiddle:
http://jsfiddle.net/Rinatr/yjjfbuf4/1/
12  General Category / Bug Report / Re: datagrid cellediting and datagrid subgrid conflict on: November 19, 2015, 06:07:25 AM
Screen:
https://www.dropbox.com/s/kliebrw64g98sqo/2015-11-19_160619.png?dl=0
13  General Category / Bug Report / Re: datagrid cellediting and datagrid subgrid conflict on: November 19, 2015, 05:56:07 AM
Code:
    <!DOCTYPE html>
    <html>
    <head>
   
    <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/demo/demo.css">
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="http://www.jeasyui.com/easyui/datagrid-detailview.js"></script>
    <script type="text/javascript" src="http://www.jeasyui.com/easyui/datagrid-cellediting.js"></script>
    </head>
    <body>
   
   
   
    <script type="text/javascript">
       
   
    $(document).ready(function()
    {
                $('#dg').datagrid({
   
                    onEndEdit: function(){
                        $(this).datagrid('options').view.canUpdateDetail = false;
                    },
                    columns:[[
                        {field:'itemid',title:'Item ID',width:200, editor: 'textbox'},
                        {field:'productid',title:'Product ID',width:100,align:'right', editor: 'textbox'},
                        {field:'listprice',title:'List Price',width:100,align:'right', editor: 'textbox'}
                    ]],
                    singleSelect: true,
                    fitColumns: true,
                   data:[
                        {"itemid":"EST-12","productid":"RP-SN-01","listprice":"18.50","unitcost":"12.00","status":"P","attr1":"Rattleless"},
                        {"itemid":"EST-13","productid":"RP-LI-02","listprice":"18.50","unitcost":"12.00","status":"P","attr1":"GreenAdult"},
                        {"itemid":"EST-16","productid":"FL-DLH-02","listprice":"93.50","unitcost":"12.00","status":"P","attr1":"AdultFemale"}
                       ],
                    view: detailview,
                    detailFormatter:function(index,row){
                        return '<div style="padding:2px"><table class="ddv"></table></div>';
                    },
                    onExpandRow: function(index,row){
                        var ddv = $(this).datagrid('getRowDetail',index).find('table.ddv');
                        ddv.datagrid({
                            data:[
                                {"orderid":"1004","linenum":"2","itemid":"EST-12","quantity":"1","unitprice":"18.50"},
                                {"orderid":"1013","linenum":"1","itemid":"EST-12","quantity":"1","unitprice":"18.50"},
                                {"orderid":"1014","linenum":"1","itemid":"EST-12","quantity":"1","unitprice":"18.50"}
                            ],
                            fitColumns:true,
                            singleSelect:true,
                            rownumbers:true,
                            loadMsg:'',
                            height:'auto',
                            columns:[[
                                {field:'orderid',title:'Order ID',width:200, editor: 'textbox'},
                                {field:'quantity',title:'Quantity',width:100,align:'right', editor: 'textbox'},
                                {field:'unitprice',title:'Unit Price',width:100,align:'right', editor: 'textbox'}
                            ]],
                            onResize:function(){
                                $('#dg').datagrid('fixDetailRowHeight',index);
                            },
                            onLoadSuccess:function(){
                                setTimeout(function(){
                                    $('#dg').datagrid('fixDetailRowHeight',index);
                                },0);
                            }
                        });
                        $('#dg').datagrid('fixDetailRowHeight',index);
   
                        ddv.datagrid('enableCellEditing').datagrid('gotoCell',
                                {
                                    index: 0,
                                    field: 'orderid'
                                });
   
                    }
                });
   
   
   
   
            $('#dg').datagrid('enableCellEditing').datagrid('gotoCell',
                    {
                        index: 0,
                        field: 'itemid'
                    });
   
   
    });
   
   
    </script>
   
    <div id = "dg"></div>
    </body>

14  General Category / Bug Report / Re: datagrid cellediting and datagrid subgrid conflict on: November 19, 2015, 05:55:19 AM
https://www.dropbox.com/s/cuu1kdip2ln1xjb/test.html?dl=0
15  General Category / Bug Report / Re: datagrid cellediting and datagrid subgrid conflict on: November 19, 2015, 05:05:09 AM
Thanks! first bug is fixed, but second - not.
(When I press any key in editable input in subgrid).
TypeError: col is null
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!