EasyUI Forum
May 09, 2024, 05:11:51 PM *
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] 5 6 ... 13
46  General Category / EasyUI for jQuery / Using easyui offline on: February 08, 2019, 02:29:30 AM
Hi all,

I am writing a small application that must run offline.

Therefore I have added the following directive:
<html manifest="index.appcache">

The following example works:
https://www.ofima.ch/PPP.6/index1.html

But if the tab content is loaded with "href", when you select "tab2" a loading message appears and the tab content is not updated.
See the following example:
https://www.ofima.ch/PPP.6/index2.html


I am not sure but the reason could be that the "href" dynamically adds some code like "?_=1549621105203".


Thanks for any help.
Miche

47  General Category / EasyUI for jQuery / Re: combobox + tooltip on: January 28, 2019, 03:48:33 AM
Thanks a lot !

Miche
48  General Category / EasyUI for jQuery / combobox + tooltip on: January 24, 2019, 01:59:02 AM
Hi all,

is it possible to add a different tooltip for each line in a combobox ?


Thanks
Miche
49  General Category / EasyUI for jQuery / Re: datagrid + formatter on: January 24, 2019, 01:57:43 AM
Thanks a lot !

Miche
50  General Category / EasyUI for jQuery / datagrid + formatter on: January 23, 2019, 06:21:24 AM
Hi all,

I have a datagrid and a formatter function (in order to display the "description" instead of the "id").
The formatter function starts an ajax request that do a "SELECT".
All is ok.

The problem
--------------
I some case I need to display 5000 lines.
In this case the formatter function is called 5000 times (this is too much !!).

Question
----------
How to solve this ?
Is it possible to return in the json string the "id" and also the "formatter-code".


Thanks
Miche
51  General Category / EasyUI for jQuery / Re: span a form over two tabs on: November 06, 2018, 06:48:15 AM
Thanks !
Miche
52  General Category / EasyUI for jQuery / span a form over two tabs on: November 05, 2018, 12:44:08 PM
Hi all,

I have a problem with a form that span over two tabs.

In the following code (without the "form" tag) the tabs are displayed correctly (in percent width as I need):
http://195.144.40.170/jeasyui/PPP.5/file1.html

But after adding the "form" tag the tabs are not displayed correctly:
http://195.144.40.170/jeasyui/PPP.5/file2.html


Any help is appreciated.
Thanks.
Miche
53  General Category / EasyUI for jQuery / Re: easyui-tabs and style="height:auto" on: November 05, 2018, 09:35:35 AM
Thanks.
Miche
54  General Category / EasyUI for jQuery / easyui-tabs and style="height:auto" on: November 05, 2018, 07:12:52 AM
Hi all,

I need help with the height parameter in easyui-tabs.

The following code works correctly (style="height:300px"):
http://195.144.40.170/jeasyui/PPP.4/file1.html

But if I use style="height:auto" then in Tab2 the datagrid is not displayed correctly:
http://195.144.40.170/jeasyui/PPP.4/file2.html

Also if I use style="width:80%;height:80%" Tab1 and Tab2 are not displayed correctly:
http://195.144.40.170/jeasyui/PPP.4/file3.html


How can I solve this ?
Thanks.
Miche
55  General Category / EasyUI for jQuery / Re: form + onChange event on: October 04, 2018, 07:28:59 AM
Thanks
Miche
56  General Category / EasyUI for jQuery / form + onChange event on: October 03, 2018, 02:37:17 AM
Hi all,

please select the following link:
http://195.144.40.170/jeasyui/PPP.3/a.html
and then select "Tab 2".
Nothing appear on the console and this is what I expect.

But if (in the form) I change the field from "multiple: false" to "multiple: true" the onChange event fire.
You can verify this selecting the following link:
http://195.144.40.170/jeasyui/PPP.3/b.html

Why ?
How can avoid that the onChange event fire during the form load ?

Thanks.
Miche
57  General Category / EasyUI for jQuery / Re: datagrid + combobox + inList on: August 30, 2018, 11:35:11 PM
Thanks

Miche
58  General Category / EasyUI for jQuery / datagrid + combobox + inList on: August 30, 2018, 07:49:37 AM
Hi all,

in a combobox I limit the possible options to those listed with the following (working) code:

Code:
         $('#Sigla').combobox({
            url: ...,
            validType: 'inList["#Sigla"]'
         });

"inList" is described in the following thread:
http://www.jeasyui.com/forum/index.php?topic=3364.msg7623#msg7623

I want to do the same in a datagrid editor but the following code doesn't work:

Code:
         $('#dg').datagrid({
            columns: [[
               {field:'Sigla',
                   editor: {
                      type: 'combobox',
                      options: {
                         url: ...,
                         validType: 'inList["#Sigla"]'
                      }
                   }
               }
           ]]
         });

Thanks for any help.
Miche

59  General Category / EasyUI for jQuery / Re: Check if a form exist on: August 22, 2018, 08:47:50 AM
Thanks !

Miche
60  General Category / EasyUI for jQuery / Check if a form exist on: August 22, 2018, 02:57:51 AM
Hi all,

in order to check if a datagrid exists I use the following working code:

Code:
if ($('#dg').data('datagrid')) {
    console.log('datagrid exists');
}

How can I check if a form exists ?

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