EasyUI Forum
April 29, 2024, 02:42:01 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 ... 7 8 [9] 10
 81 
 on: August 21, 2023, 05:47:48 AM 
Started by msvabik - Last post by msvabik
Thank you, that helped.
Although it works a bit strangely.
I have the textbox disabled in the form when initializing.
The attribute setting only works on an enabled textbox. With that said, in the first edit of the textbox, the virtual keyboard is activated and in subsequent edits the virtual keyboard is no longer displayed.
But thanks for that too...

 82 
 on: August 21, 2023, 12:39:54 AM 
Started by msvabik - Last post by jarry
Please call the 'textbox' method to get the inputing box and then set its 'inputmode' attribute.
Code:
var input = $('#tt').textbox('textbox');
input.attr('inputmode','none');

 83 
 on: August 17, 2023, 08:30:37 AM 
Started by larryclyons - Last post by larryclyons
thanks Jarry I'll give that a try. Much appreciated.

 84 
 on: August 17, 2023, 04:52:01 AM 
Started by msvabik - Last post by msvabik
Hello,
I would like to use the inputmode parameter in <input>.
Code:
<input id="data_input" name="data_input" class="easyui-textbox" style="width: 100%; height: 38px" inputmode="none">
However, this parameter is ignored and not used when generating pages in jeasyui.
How to control the type of keyboard displayed on mobile devices?
Thanks for the advice
Michal

 85 
 on: August 17, 2023, 01:20:50 AM 
Started by larryclyons - Last post by jarry
The 'reload' method accepts the 'id' parameter. If the 'id' value is missing, the treegrid will reload the root node. If the 'id' value is set, the treegrid will reload the specified node.

Code:
$(grid).treegrid('reload', idvalue);

Please try to pass the node's id value to the 'reload' method if you want to reload that node.

 86 
 on: August 14, 2023, 12:47:13 PM 
Started by larryclyons - Last post by larryclyons
Thanks jarry. That worked, but only for the first level. When I try it with the subsequent levels, while the row in question is selected, the parent row is not expanded. Here's what I've tried:
Code:
function refreshGrid(grid_id){
    var grid = '#' + grid_id;
    var row = $(grid).treegrid('getSelected');
    if(row){
        var grid_level = $(grid).treegrid('getLevel', row['id]'])
        $(grid).treegrid('reload');
        if (grid_level ==0){
            $(grid).treegrid('scrollTo',row['id']);
            $(grid).treegrid('selectRow',row['id']);
            $(grid).treegrid('highlightRow',row['id']);
        } else if (grid_level == 1){
            // get the parrent node and id
            var parentNode = $(grid).treegrid('getParent', row['id']);
            var parent_id = parentNode['id'];
           
            // scroll to the parent node, expand it and select the row.
            $(grid).treegrid('scrollTo',parentNode['id']);
            $(grid).treegrid('expand', parentNode['id']);
            $(grid).treegrid('select', row['id']);
        }
    }
}

What happens is that the grid is reloaded, but the parent node is collapsed. When I expand it, the row in question is selected. I am not sure what the issue is in this case, so any help would be appreciated.

 87 
 on: August 14, 2023, 12:13:37 PM 
Started by WizPS - Last post by WizPS
Greetings! Will any EasyUI component for Vue work with my Vue 3.x app? Thanks in advance!

 88 
 on: August 13, 2023, 11:49:42 PM 
Started by Fabrice - Last post by jarry
Please call this code to get the toolbar bound to the datagrid. And then you will be able to access the buttons in the toolbar.
Code:
var tb = $('#dg').datagrid('options').toolbar;
...

 89 
 on: August 11, 2023, 06:06:00 AM 
Started by Wojak - Last post by Wojak
Has anyone encountered such a situation? It works very well on a computer, but if the page is loaded on a tablet/phone it doesn't work so well, it's even hard to work with. For example datagrid, messager is very slow

 90 
 on: August 11, 2023, 05:14:10 AM 
Started by larryclyons - Last post by larryclyons
Thanks jarry that worked. Your help is much appreciated

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