EasyUI Forum
May 11, 2024, 10:08: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 ... 3 4 [5] 6 7 ... 13
61  General Category / EasyUI for jQuery / Re: "novalidate: true" for all form fields on: June 14, 2018, 01:34:09 AM
Thanks !

Miche
62  General Category / EasyUI for jQuery / "novalidate: true" for all form fields on: June 13, 2018, 07:27:54 AM
Hi all,

I have a form (fm1) and within the form I have another form (fm2).
During the "onSubmit" I want to set "novalidate: true" for all the fields inside "fm2".
I know how to set "novalidate: true" for a single field (see code below) but how is it possible to set "novalidate: true" for all the fields inside "fm2" ?

Code:
$('#fm1').form('submit', {
   onSubmit: function() {
      $('#Description').validatebox({
         novalidate: true
      });

      var isValid = $(this).form('validate');
   }
});

<form id="fm1" method="post" novalidate>
   <form id="fm2" method="post" novalidate>
   </form>
</form>

Regards
Miche
63  General Category / EasyUI for jQuery / Re: datagrid + formatter + appendRow on: May 22, 2018, 02:18:55 AM
It was my error !

Thanks
Miche
64  General Category / EasyUI for jQuery / datagrid + formatter + appendRow on: May 19, 2018, 12:30:09 AM
Hi all,

I have a datagrid with a combobox field (with valueField and textField).

In the comobox field (vehicle) I use a formatter.
The formatter convert the value received from the server to a string, example:
1 -> car
2 -> airplane

The problem is when I use "appendRow" (but I don't go in edit mode).
$('#dg').datagrid('appendRow', {
   vehicle: 1
}
In this case the formatter is not executed and in the field vehicle i see "1" and not the string "car".

When I use "appendRow" is it possible to add "valueField and textField" of the combobox or to trigger the formatter ?

Thanks
Miche
65  General Category / EasyUI for jQuery / Re: combobox + css on: April 26, 2018, 09:00:50 AM
Thanks !

Miche
66  General Category / EasyUI for jQuery / combobox + css on: April 24, 2018, 04:06:00 AM
Hi all,

I have two combobox.

The first is a readonly combobox, the second is disable.

The css style of the first combobox (readonly)  must be equal to the style of the second combobox (disable).

How can I do this ?

Thanks
Miche
67  General Category / EasyUI for jQuery / Re: javascript + ajax on: April 11, 2018, 01:35:30 AM
Thanks !

Miche
68  General Category / EasyUI for jQuery / javascript + ajax on: April 10, 2018, 12:23:34 PM
Hi all,

sorry if this is not a "jeasyui" question but it is part of my "jeasyui program".

I have the following two lines of code:

Code:
$('#id').append('text');
$.ajax({ async: false, ... });

I need to start the ajax function (the second line of the code) in "sync" mode.
The execution time of the ajax function is 10 seconds.

The problem is that the text (the first line of the code) is appended only at the end of the ajax function (after 10 seconds).
Is it possible to append the text immediately ?

Thanks.
Miche
69  General Category / EasyUI for jQuery / Re: datagrid + filterRules on: April 10, 2018, 04:47:29 AM
Thanks !

Miche
70  General Category / EasyUI for jQuery / datagrid + filterRules on: April 09, 2018, 08:51:09 AM
Hi all,

I need to reload a datagrid and pass the filterRules.
Here is my code:

Code:
                           url = 'prog.cgi?filterRules=[{field:"Active",value:"1"}]',
                           $(this).combogrid('grid').datagrid('reload', url);

The problem is that at the server site I receive the following error:

Code:
unexpected end of string while parsing JSON string, at character offset 3 (before "ield:"Active",value:...") at 

Regards.
Miche


71  General Category / EasyUI for jQuery / Re: datagrid + validtype on: March 29, 2018, 06:28:29 AM
Thanks !

Miche
72  General Category / EasyUI for jQuery / datagrid + validtype on: March 28, 2018, 01:43:41 AM
Hi all,

I have a datagrid with (suppose) 2 columns: col1 and col2

I use validType to validate col2. This works ok.

The problem is that now I need to validate col2 depending from col1 and col2.
Im my program if col2 beginn with 'x' then col1 is required.

Is this possible ?

Thanks for any help.
Miche
73  General Category / EasyUI for jQuery / Re: datagrid - change editor dinamically on: February 02, 2018, 03:27:02 AM
It works !

Thanks
Miche
74  General Category / EasyUI for jQuery / datagrid - change editor dinamically on: February 01, 2018, 08:43:42 AM
Hi all,

in a datagrid I need to change the editor dinamically.

Here is my code:
http://195.144.40.170/jeasyui/AAA2/index.html

Please, select a row and change the value in the column "Editor Type".
Then select the same row.
You will see that the editor of the column "Value" has been changed according to the selected value.
It works but in the console.log I see an error.

Any help to solve this problem is appreciated.

Regards.
Miche
75  General Category / EasyUI for jQuery / Re: Verify uncommited changes before closing a tab on: December 05, 2017, 01:45:46 AM
It works.
Thanks a lot !

Miche
Pages: 1 ... 3 4 [5] 6 7 ... 13
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!