EasyUI Forum
May 13, 2024, 03:36:55 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: z-index of tooltip takes no effects after reposition method calls on: May 12, 2020, 04:55:13 AM
fine.
Perhaps the zIndex property should be included in the documentation.
2  General Category / EasyUI for jQuery / z-index of tooltip takes no effects after reposition method calls on: May 10, 2020, 11:09:26 PM
like this:
   $('#prompt').tooltip({
            position: 'top',
            content: $('#promptContent').html(),
            onShow: function () {
                $(this).tooltip('tip').css({
                    zIndex:99999     // I want it to be top of all
                });
               //  $(this).tooltip("reposition");  //when uncomment this line, the z-index value is undefined. the tooltip is covered by other elememts which have big z-index.
            }
        });
3  General Category / EasyUI for jQuery / Re: show window or dialog or messager center to browser window,not to document windo on: April 17, 2020, 03:31:56 AM
I found a solution:

    function centerOverall(target, offset) {
        let jq = $(target);
        let opts = jq.data('window').options;
        let offsetTop = opts.top - (window.parent.innerHeight -  window.innerHeight) / 2 + ((offset && offset.y) ? offset.y : 0);
        let offsetLeft = opts.left - (window.parent.innerWidth -  window.innerWidth) / 2 + ((offset && offset.x) ? offset.x : 0);
        if (offsetTop < 0) offsetTop = 0;
        if (offsetLeft < 0) offsetLeft = 0;
        jq.window("move", { top: offsetTop, left: offsetLeft });
    }
    //extend easyui window
    $.extend($.fn.window.methods, {
        centerOverall: function (jq, offset) {
            return jq.each(function () {
                centerOverall(this, offset);
            });
        },
    });
4  General Category / EasyUI for jQuery / show window or dialog or messager center to browser window,not to document windo on: April 16, 2020, 11:30:55 AM
I use layout in my project and almost all pages are shown in center region with iframe,  when window,dialog or messager are shown in pages, they are centered to the page window , but not the browser window.  I don't want to realize it by setting top/left or moving every time the window or dialog are open.  Allthough parent.$.messager can  be a good method for messagers, but I don't want its modal property applying to whole window.
How can I easily realize it?
5  General Category / EasyUI for jQuery / Re: how to apply datebox to <input type='date' />? on: April 16, 2020, 11:05:39 AM
ok. wonderful idea.
6  General Category / EasyUI for jQuery / how to apply datebox to <input type='date' />? on: February 04, 2020, 09:11:17 AM
 Applying  datebox to <input type='date' />  can not completely override built-in appearance, how to fix it?
7  General Category / EasyUI for jQuery / Re: buttons in custom pager disappear when reload through $('#dg').datagrid({queryPa on: December 17, 2019, 01:10:40 AM
OK. thanks.
8  General Category / EasyUI for jQuery / buttons in custom pager disappear when reload through $('#dg').datagrid({queryPa on: December 16, 2019, 10:48:26 AM
I use custom buttons in datagrid, it works fine when changing page by pager's navigator, but when I try to reload data from server side through $('#dg').datagrid({ queryParams:{}}), buttons disappear.
Is it a bug? or how to make it always show ?
9  General Category / EasyUI for jQuery / Re: textbox can not keep value dropped from outside of browser on: February 22, 2019, 03:07:18 AM
It works fine. Thanks.
10  General Category / EasyUI for jQuery / textbox can not keep value dropped from outside of browser on: February 20, 2019, 06:59:04 PM
     When I drag and drop text from the same page into a textbox,it works,but when I  drag and drop text from other application(e.g., MS Word) into a textbox,the textbox can not hold the value which shows in gray color and disapears when focus is got.
   Is it a bug? How to fix it?
11  General Category / Bug Report / GetChanges() in Datagrid returns unchanged rows when there are numbers. on: September 28, 2016, 02:23:41 PM
When I use cell editing datagrid, GetChanges() returns the rows that I just click in but make no changes. I find that it only occurs when data contains numbers. For instance, the original data is {qty:10},  it becomes {qty:'10'} after editing.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!