EasyUI Forum
May 06, 2024, 06:18:42 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 4 ... 30
16  General Category / EasyUI for jQuery / Re: Treegrid from JSON on: November 09, 2018, 12:06:37 AM
Thank you so much for your help but it does not work on my side Sad
I created example here:
http://code.reloado.com/ejojos/edit#source
What is wrong there, please?
Thank you.
17  General Category / EasyUI for jQuery / [SOLVED] Treegrid from JSON on: November 08, 2018, 06:07:17 AM
Hello
I have such JSON file:
Code:
{
"Custom_1": {
"AA": "Value1",
"BB": "Value2"
},
"Material": {
"CC": "Value3",
"DD": "Value4",
"EE": "Value5"
},
"Item": {
"FF": "Value6",
"GG": "Value7"
}
}
is it possible to load such file into TreeGrid where "Custom_1", "Material" and "Item" are parents and "AA", "BB", "CC" (etc) are names and Value1, Value2 etc. are values?
Thank you
18  General Category / EasyUI for jQuery / Re: Drag/drop extension on mobile on: October 30, 2018, 06:00:49 AM
OK thank you.
19  General Category / EasyUI for jQuery / Re: Drag/drop extension on mobile on: October 26, 2018, 03:21:17 AM
Yes it works well but only when using desktop and when you resize screen.
I created new example here:
http://code.reloado.com/okuzaj4/4/edit#preview
when you use mobile device (please check attached image) and when you try to drag, in same time is screen moved and datagrid row.
Best option will be when drag/drop works on mobile devices but if not possible, I need to disable drag/drop on mobile devices.
Thank you.
20  General Category / EasyUI for jQuery / Re: Drag/drop extension on mobile on: October 25, 2018, 05:03:19 AM
Hello
when I add
Code:

  var width = $(window).width();
  $('#dg').datagrid({
    onBeforeDrag: function(){
      if (width < 768){
        return false;
      }
    }
  });


Then Error is displayed (in console log):

Code:
jquery.easyui.min.js:364 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080

How to solve this, please?
21  General Category / EasyUI for jQuery / Re: Drag/drop extension on mobile on: October 25, 2018, 12:25:35 AM
Thank you but I need dragDrop on desktop and laptop and only to disable it on mobile devices.
Is it good option to check screen width and if it is smaller then 768px, then disable dragDrop?
22  General Category / EasyUI for jQuery / [SOLVED] Drag/drop extension on mobile on: October 24, 2018, 07:17:00 AM
Hello
I'm using Drag/Drop extension https://www.jeasyui.com/extension/datagrid_dnd.php
and it works fine
Problem is on mobile devices, when datagrid is wider then screen then user need to scroll left<->right and in same time drag/drop become active. If there is no solution, how to disable drag/drop when using mobile device, please?
Thank you.
23  General Category / EasyUI for jQuery / Re: Menubutton inside datagrid on: October 18, 2018, 09:47:17 PM
Awesome, thank you so much for your help.
24  General Category / EasyUI for jQuery / [SOLVED] Menubutton inside datagrid on: October 18, 2018, 12:54:03 AM
Hello
I try to use menubutton inside datagrid row but it does not work.
Here is simple example:
http://code.reloado.com/oeasyrik1/204/edit
what I did wrong, please?
Thank you.
25  General Category / General Discussion / Re: Editable datagrid get previous cell value. on: October 16, 2018, 10:49:56 AM
You can remember value using onBeforeEdit event?
26  General Category / EasyUI for jQuery / Re: Hide scrollbar on: October 07, 2018, 03:21:12 AM
YES. Thank you so much. So many things to learn  Grin
27  General Category / EasyUI for jQuery / Re: Hide scrollbar on: October 06, 2018, 09:23:06 AM
Thank you so much for your help, but I need to use dynamic content (content returned from server).
I prepared new example, so please take a look:
http://code.reloado.com/oeasyrik1/199/edit
why it does not work?
28  General Category / EasyUI for jQuery / Re: Hide scrollbar on: October 05, 2018, 11:18:52 PM
Please?
29  General Category / EasyUI for jQuery / [SOLVED] Hide scrollbar on: October 04, 2018, 07:13:08 AM
Hello
is it possible to hide scrollbar, like it works on mobile devices?
I made sample here: http://code.reloado.com/oeasyrik1/194/edit
What I need is to hide scrollbar (it looks ugly) and to eventually display it when user hover with the mouse.
I try to use this module: https://nicescroll.areaaperta.com/demo/ but it does not work in my code because I change DIV content dynamically using
    $('#my_div').html(data);
    $.parser.parse('#my_div');
Thank you.
30  General Category / EasyUI for jQuery / Re: Columns width on: September 04, 2018, 09:42:51 PM
Awesome, thank you so much.
Pages: 1 [2] 3 4 ... 30
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!