EasyUI Forum
May 02, 2024, 06:54:44 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 4 ... 29
16  General Category / EasyUI for jQuery / Latest Chrome Causing Ajax Form Issues on: June 09, 2020, 02:59:11 AM
Have an application that has been using easyui for last 5 years and all of a sudden, with the latest chrome for windows updates we are getting problems with form submissions.

Everything works fine on chrome osx and firefox and safari, but latest 83 version of chrome appears to be broken.

When a form is submitted and the onSubmit() returns true as it should, no request is actually sent from the browser to the server, and then the onSuccess() event fires, even though no request was send and therefore nothing was received.

As stated, this has been working without issue for the last 5 years and only seems to be related to chrome windows, problem is all of our customers are using chrome windows.

17  General Category / EasyUI for jQuery / Re: cloning a control to a new control. on: May 30, 2020, 05:56:47 PM
Thanks so much :-)
18  General Category / EasyUI for jQuery / Re: cloning a control to a new control. on: May 29, 2020, 08:28:53 PM
Bump...
19  General Category / EasyUI for jQuery / Re: rotating the combo arrow when dropped down on: May 21, 2020, 03:22:17 AM
Oops solved it myself:

Code:
a.textbox-icon.combo-arrow.open {
  transform: rotate(180deg);
  background-color: pink;
}


Code:
var pan = me.combo('panel');
    pan.panel({
      openAnimation   : 'slide',
      closeAnimation  : 'slide',
      onOpen: function(){
        me.combo('getIcon', 0).addClass('open');
      },
     
      onClose: function(){
        me.combo('getIcon', 0).removeClass('open'); 
      }
    });
20  General Category / EasyUI for jQuery / rotating the combo arrow when dropped down [solved] on: May 21, 2020, 03:06:03 AM
Is there an easy way of rotating the combo drop down panel icon arrow when the panel is open ?

21  General Category / EasyUI for jQuery / cloning a control to a new control. on: May 21, 2020, 02:16:43 AM
Code:
$.fn.multibox = $.fn.combo;

I want to create a new object that inherits all of the properties, methods etc of the combo, and then modify it adding new methods etc.

I do not want these changes to be reflected in the original combo object.

I believe that the above will create an alias to combo, and any changes to multibox will also appy to combo ??

22  General Category / EasyUI for jQuery / Re: combo always invalid when using setValue() on: May 21, 2020, 02:13:47 AM
It appears that validation fails unless you set the text, which I don't really want to do, as the data that gets saved is the item value not the text ?!
23  General Category / EasyUI for jQuery / combo always invalid when using setValue() on: May 21, 2020, 01:39:22 AM
I am using the combo to generate a list of checkboxes, and then using the setValue() method to set the combos selected values, all of that works OK.

But when I validate() or isValid() it always returns false even though the field has a value and meets the criteria of > 1 char:

Code:
$('#ccx').combo({
      validType       : 'minLength[1]',
      required        : true,
      ... lots more code...
});

> $('#ccx').combo('getValue')
< "HAND-ASSEMBLY,MARKETING,PRESSING"

> $('#ccx').combo('isValid')
< false
24  General Category / EasyUI for jQuery / find element within panel as a options variable. on: May 20, 2020, 09:38:15 PM

I am trying to find a hidden input in the panel and assign it as one of the options vars:

Code:
  $('#clsfilt').panel({
      _input      : $(this).find('input:hidden').first(),
      values      : [],
      cls         : 'jcfpan',
      collapsed   : true,
      collapsible : true,
      title       : 'Multi-Select',
      onCollapse  : function(){},
      onExpand    : function(){
        console.log('xxx'); 
      }
    })

But this of course does not work, how can I do this ?

Thanks
25  General Category / General Discussion / Re: extend linkbutton to prevent double click. on: November 14, 2019, 04:15:43 PM
Thanks very much, I will try that.
26  General Category / General Discussion / extend linkbutton to prevent double click. on: November 13, 2019, 11:43:47 PM
Right now, each time I use a linkbutton, or use the message dialog, I have to call a function that disables the button, sets a timeout and then enables the button again after say 1 second, and I have hundreds and hundreds of link buttons in my application.

Now I would like to extend the linkbutton onClick() event so that whenever any linkbutton is pressed, it will be disabled, but I do NOT want to break the onclick() event which is already being used hundreds of times throughout the application.

So somehow I need to extend the linkbutton, such that when it is clicked, it calls a oneclick(self) function and then calls the onClick() event.

Can this be done ??

27  General Category / EasyUI for jQuery / linkbutton longpress on: February 28, 2019, 05:27:10 AM
Hi;

It it possible to extend the linkbutton with a longpress event, this would be very useful.

Thanks
28  General Category / General Discussion / getting the autosize width value for width on: October 05, 2018, 05:55:59 PM
How can I get the width of the columns after they have been autosized as I would like to save this value as the defaults for the datagrid ?

Thanks

29  General Category / EasyUI for jQuery / Re: Globall include a ajax parameter for every easyui element on: September 06, 2018, 04:35:52 PM
Thanks, but that requires me to extend every element individually.

Could this be done at the jquery $.ajax level instead ?
30  General Category / EasyUI for jQuery / Globall include a ajax parameter for every easyui element on: September 06, 2018, 03:04:59 AM
I need to include a couple of parameters in the ajax request for EVERY element.

Rather than manually adding the parameter to each instance in every page, is it possible to extend eui and do this globally ?

Thanks
Pages: 1 [2] 3 4 ... 29
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!