EasyUI Forum
April 29, 2024, 12:15:46 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
1  General Category / EasyUI for jQuery / Re: Masked Input - Paste Broken on: February 09, 2021, 05:30:47 PM
Thank you!
2  General Category / EasyUI for jQuery / Masked Input - Paste Broken on: February 08, 2021, 10:22:30 AM
The Masked Input doesn't update the value when text is pasted into the input:

<input
   id="myPhone"
   name="myPhone"
   type="text"
   class="easyui-maskedbox"
   mask="999-999-9999"
   value=""
   data-options="">

Paste 123-456-7890 into the box and the underlying control value doesn't update.
3  General Category / EasyUI for jQuery / Re: Override ValidateBox error on: December 30, 2016, 09:57:16 PM
Is there a way to do it globally?
4  General Category / EasyUI for jQuery / Override ValidateBox error on: December 30, 2016, 01:21:11 PM
Hello,

Is it possible to override all validatebox error functionality. I am currently trying:

$.extend($.fn.validatebox.defaults, {err:function(target, message){
   var t = $(target);
   if (t.hasClass('textbox-text')){
      t = t.parent();
   }
   var m = t.next('.text-danger');
   if (!m.length){
      m = $('<div class="text-danger small"></div>').insertAfter(t);
   }
   m.html(message);
}});
5  General Category / EasyUI for jQuery / Re: Customize Radio and Checkbox Controls on: December 14, 2015, 07:14:08 PM
Is there a way to bind the buttons to an input on a form? Also, it would be great if there were options to get/set items similar to a combo.

getValues
setValues
getValue
setValue
6  General Category / EasyUI for jQuery / Re: Customize Radio and Checkbox Controls on: December 14, 2015, 07:09:29 PM
JeasyUI support response:

The linkbutton components can act as radio and check buttons. Please refer to:

http://jsfiddle.net/yeyfccov/
7  General Category / EasyUI for jQuery / Customize Radio and Checkbox Controls on: December 14, 2015, 07:08:37 PM
Can custom control rendering be setup to make radio and checkbox controls look nice like in bootstrap?

http://getbootstrap.com/javascript/#buttons-checkbox-radio
8  General Category / EasyUI for jQuery / Re: Datalist radiobutton on: December 14, 2015, 07:06:23 PM
From JeasyUI Support:

To get a radio button on the left of item, please use the 'formatter' function to define a radio element.

         $('#dl').datalist({
            textFormatter: function(value,row){
               return '<input type="radio" name="name1">' + value;
            },
            onSelect: function(index,row){
               var tr = $(this).datalist('options').finder.getTr(this, index);
               tr.find('input[type=radio]')._propAttr('checked', true);
            }
         })
9  General Category / EasyUI for jQuery / Datalist radiobutton on: December 14, 2015, 07:05:38 PM
Can I override the datalist component so that it will show a radiobutton instead of a checkbox?
10  General Category / EasyUI for jQuery / Re: Bug with Datagrid under Menubutton on: August 09, 2013, 08:11:39 AM
Hello,

Is there a way to make it work when connecting the data to a webservice url?

http://jsfiddle.net/dAVxm/4/
(I am not sure how to connect to the data using jsfiddle)

Best,
-Blake
11  General Category / EasyUI for jQuery / Bug with Datagrid under Menubutton on: August 08, 2013, 05:29:56 PM
Hello,

I believe that I have uncovered a bug where a datagrid does not initialize when it is placed as content under a menubutton. Please see my example in the following fiddle:

http://jsfiddle.net/dAVxm/1/

Best,
-Blake
12  General Category / General Discussion / Color Picker Control on: March 30, 2013, 08:06:58 PM
Hello,

Do you have any plans to add a color picker control to JEasyUI? Here is one that I like quite a bit:

http://bgrins.github.com/spectrum/

Best
13  General Category / EasyUI for jQuery / Re: Remote Combobox pass Q param after form load on: March 27, 2013, 10:50:52 AM
Hello,

That works great! Thanks for your help. The example looks like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <meta name="keywords" content="jquery,ui,easy,easyui,web">
   <meta name="description" content="easyui help you build your web page easily!">
   <title>Form - jQuery EasyUI Demo</title>
   <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
   <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css">
   <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
   <script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
</head>
<body>
   <form id="myForm">
      <select
         id="patient_id"
         name="patient_id"
         class="easyui-combobox"                                 
         data-options="
            url:'test.php',
            valueField:'id',
            textField:'name',
            mode:'remote',
            disabled:true,
            hasDownArrow:false,
                onBeforeLoad:function(param){param.q = $(this).combobox('getValue')}"
         style="
            width:200px;"
         />                 
   </form>
   <script>
      $(function(){
         $('#myForm').form({
            onLoadSuccess:function(){
               $('#patient_id').combobox('reload');
            }
         }).form('load',{
            patient_id: 6
         });
      });

   </script>
</body>
</html>
14  General Category / EasyUI for jQuery / Re: Remote Combobox pass Q param after form load on: March 27, 2013, 08:46:51 AM
Hello,

I appreciate the example that you provided. It replicates, almost exactly, the functionality I have created above. Is there anyway to automate this functionality so that 'q' is passed to the webservice when the reload method is called?

$('#patient_id').combobox('reload'); //can q be set to getValue and passed to the webservice when this method is called

Best
15  General Category / EasyUI for jQuery / Re: Remote Combobox pass Q param after form load on: March 26, 2013, 09:04:47 PM
Hello,

The HTML code marked in blue is wrapped in a form with the id "myForm". Please excuse the class attribute that is set to the same value.

The $('#myForm') selector for the form is correct and the is successfully being populated with a JSON response from the server that triggers the "onLoadSuccess" function in the green code.

Best
Pages: [1] 2
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!