EasyUI Forum
January 29, 2023, 11:20:04 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
1  General Category / EasyUI for jQuery / Re: treegrid clear issue on: August 17, 2022, 10:37:18 PM
treegrid dependency on datagrid, clearChecked method is mentioned there.
2  General Category / EasyUI for jQuery / Tagbox multiple not working on: August 04, 2022, 05:33:23 AM
I define tagbox with multiple: true, but only one row can be selected




3  General Category / EasyUI for jQuery / Re: Maintaining EasyUI Formating on: October 11, 2021, 12:08:54 AM
Hi

Thanks for the example..

I'm now trying to set a value (using the "setvalue" method) to the qty0 textbox,  on name change

ie...

Code:
      $('<input>').attr('name','name'+counter).appendTo(td).textbox({
        onChange: function(value){
          console.log('changed:'+value);
      [b] $('#qty0').textbox('setValue', "TEST DATA");[/b] // <--- This doesnt seem to work ???
        }
      });

What am i doing wrong ?

Thank you

Use SetText to set displaying value.
4  General Category / EasyUI for jQuery / Localization / Datagrid on: June 13, 2019, 04:20:58 AM
Hi,
we have localization json files, fi.json, en.json, ...

Structure is like

{
  "Login": {
    "login": "Login",
    "exit": "Exit"
  },
  "DeviceSettingsModal": {
    "save": "Save",
    "cancel": "Cancel"
  },
  "common": {
    "accept": "Accept",
    "add": "Add",
    "pageControls": {
      "label": "Page"
    }
  }
}

How could I read this stucture into datagrid where are columns for each language and each parameters language value should be editable?

pageControl part is tricky, how to implement that? I though of datagrid subgrid, but is it possible define when every row does not have subgrid?

5  General Category / EasyUI for jQuery / Re: treegrid keyboard navigation on: May 16, 2019, 10:39:39 PM
https://www.jeasyui.com/forum/index.php?topic=1381.0
6  General Category / EasyUI for jQuery / Re: Scrolling is very slow inside dialog on: April 15, 2019, 04:28:27 AM
Even in your demo the problem is still there. Use your mousewheel to scroll. You can see that it is very very slow. I think this is a bug. If you scroll this page with your mouse wheel, you can feel and see the normal behaviour of mousewheel scroll. But for the datagrid inside the dialog, we can hardly leave even one row at one wheel scroll. I hope you can fix this.

Thanks and regards

Alfred

Scrolling with mouse wheel is easy and fast, this issue has something to do with your computer?
7  General Category / EasyUI for React / Re: DataGrid - Row Validation example on: March 26, 2019, 01:20:21 AM
How about this Menu?
8  General Category / EasyUI for React / DataGrid - Row Validation example on: March 26, 2019, 12:11:50 AM
In this example you can't change checkbox, although it is set as editable?

Also in MenuButton Basic menu hover in "Edit" is funny.
9  General Category / EasyUI for jQuery / Re: SwitchButton PasswordBox have problem on: February 24, 2019, 11:32:50 PM
Yeah, there is a problem..
10  General Category / EasyUI for jQuery / Re: The fixDetailRowHeight property setting when subgrid is nested on: January 21, 2019, 11:35:26 PM
You have typo: expandder

Please show your code to demostrate your issue.

This is the complete code:

Code:

var dg = {       //Initial table
url:'griddata',
columns:[[
{field:'e',expandder:true},
        {field:'ck',checkbox:true},
        {field:'cp',title:'product',halign:'center'},
        {field:'kh',title:'customer',halign:'center'},
        {field:'gy',title:'employee',halign:'center'},
        {field:'sl',title:'amount',halign:'center',align:'right'},
        {field:'dj',title:'price',halign:'center',align:'right'},
        {field:'zk',title:'discount',halign:'center',align:'right'},
        {field:'je',title:'amount',halign:'center',align:'right'},
        {field:'rq',title:'date',align:'center'}
]],
pagination:true
};
var sub1 = {     //Child table 1
url:'gydata',
foreignField:'cp',
columns:[[
{field:'kh',title:'customer',width:'45%'},
{field:'sl',title:'amount',width:'45%'},
]],
    onLoadSuccess: function(param){
        var pg = $(this).datagrid('getParentGrid');
        var index = $(this).datagrid('getParentRowIndex');
        pg.datagrid('fixDetailRowHeight',index);
    }
};
var sub2 = {     //Child table 2
url:'gydata',
foreignField:'kh',
columns:[[
{field:'gy',title:'employee',width:'50%'},
{field:'sl',title:'amount',width:'50%'},
]],
onBeforeLoad:function(param){
        var pg = $(this).datagrid('getParentGrid');
        var index = pg.datagrid('getParentRowIndex');
var row = pg.datagrid('getParentGrid').datagrid('getRows')[index];
param.fzl = row.cp    //Submit fzl parameters to the server at the same time
},
    onLoadSucess: function(){
        var pg = $(this).datagrid('getParentGrid');
        var index = $(this).datagrid('getParentRowIndex');
        pg.datagrid('fixDetailRowHeight',index);
    index = pg.datagrid('getParentRowIndex');
        pg.datagrid('getParentGrid').datagrid('fixDetailRowHeight',index);
    },
};
$('#test').datagrid().datagrid('subgrid',{
options:dg,
subgrid:{
options:sub1,
subgrid:{
options:sub2
}
}
})


I uploaded a few more screenshots. among them:
1, the initial expansion effect
2, the effect of re-expanding after folding
3, the effect of the second sub-table expansion
4, the effect of the second sub-sheet after folding
11  General Category / EasyUI for jQuery / Re: Datagrid destroy on: January 18, 2019, 02:55:33 AM
Why to destroy? Why not put in div and hide/show div contents?

12  General Category / General Discussion / Re: datebox formatter & parser on: November 20, 2018, 12:43:19 AM
Your year is only 2 digit value? "18.01.15"
13  General Category / EasyUI for jQuery / Re: Datagrid Column Header as vertical align on: August 23, 2018, 12:03:23 AM
https://www.jeasyui.com/forum/index.php?topic=3787.0
14  General Category / EasyUI for jQuery / Re: Is there a destroy method for tabs? on: May 31, 2018, 02:54:02 AM
https://www.jeasyui.com/forum/index.php?topic=1093.0
15  General Category / EasyUI for jQuery / Re: Submit form and show results in a panel? on: May 22, 2018, 03:57:11 AM
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwj12fqrlJnbAhVCLZoKHRmnBxwQFggsMAA&url=https%3A%2F%2Fgetfirebug.com%2Freleases%2Flite%2Fchrome%2F&usg=AOvVaw2OfvCAws22s0foW-Fpjeqz
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!