EasyUI Forum
May 13, 2024, 02:31:58 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 ... 9 10 [11] 12 13
151  General Category / EasyUI for jQuery / Problem with "Build CRUD Application with edit form in expanded row details" on: August 25, 2015, 01:51:51 AM
Hi all,

please try the following steps:

1) select the following tutorial: http://www.jeasyui.com/tutorial/app/crud3/index.html
2) click twice on the "New" button (you have two new forms)
3) click "Cancel" on the first form
4) click "Cancel" on the second form

... the second form is not deleted and you get the error "row is undefined".

Is it possible to fix this ?

Thanks
Miche
152  General Category / EasyUI for jQuery / Re: Up and Down key in a datagrid on: August 21, 2015, 05:56:24 AM
Hi stworthy,

thanks a lot for your help !
Looking at your example I found my mistake.

Unfortunately now I have a problem that I cannot solve.
If you can help me ...

This is your code and it works perfectly:
http://195.144.40.170/AAA/file1.html


First problem
------------
I have changed the following line:
data-options="singleSelect:true,collapsible:true,data:data">
with:
data-options="singleSelect:true,collapsible:true,data:data,idField:'itemid'">
As you can see in the following link key-up/key-down initially work but after reaching the first/last line the yellow line disappears.
http://195.144.40.170/AAA/file2.html


Second problem
---------------
I have changed the following line:
data-options="singleSelect:true,collapsible:true,data:data">
with:
data-options="singleSelect:true,collapsible:true,url:'datagrid_data.json'">
As you can see in the following link the instruction "p.focus();" do not work
http://195.144.40.170/AAA/file3.html


Thanks for any help.
Miche
153  General Category / EasyUI for jQuery / Up and Down key in a datagrid on: August 20, 2015, 08:13:03 AM
Hi all,

in order to use the Up and Down key in a datagrid I have found the following code:
http://www.jeasyui.com/forum/index.php?topic=483.0

Unfortunately it doesn't work for me.
I am using "jQuery EasyUI 1.4.2"
Can this be the problem or should this code work also with 1.4.2 ?

Thanks for any help
Miche
154  General Category / EasyUI for jQuery / Re: fullcalendar and jeasyui on: July 29, 2015, 11:45:21 PM
It works !!!!

Thanks a lot.

Regards
Miche
155  General Category / EasyUI for jQuery / fullcalendar and jeasyui on: July 29, 2015, 08:50:52 AM
Hi all,

not sure if someone can help me ...

I use the plugin fullcalendar but I have a problem using this plugin in conjunction with jeasyui.

For example if, over a calendar, I display a message with "$.messager.alert" and then I move the window, a shadow remains.
I understand that this is not a jeasyui problem but maybe someone has had the same problem.

Reagads
Miche

156  General Category / EasyUI for jQuery / Re: Form + combotree on: July 23, 2015, 04:09:07 AM
Hi Stworthy,

thanks a lot for your help !

Regards.
Miche
157  General Category / EasyUI for jQuery / Re: Form + combotree on: July 22, 2015, 07:28:56 AM
Hi Stworthy,

I have modified the code as suggested and it works.
Unfortunately now I have another problem ...
Now the user can edit the field and I want to avoid this ...

In other words the user must only be able to select the value from the combotree.

Regards
Miche
158  General Category / EasyUI for jQuery / Form + combotree on: July 21, 2015, 03:58:21 AM
Hi all,

I have the following form:
http://195.144.40.170/AAA/index.html

When I hit "Submit" the message "This field is required" appears near the first field.
Now write a text in the first field and hit "Submit" again.
Near the second field doesn't appear the text "This field is required".
Why ?
The only difference is that the first field is a textbox and the second field is a combotree.

Any help is appreciated.
Regards.
Miche
159  General Category / EasyUI for jQuery / Re: Disable editing on: July 18, 2015, 07:04:00 AM
Thanks a lot !

Regards
Miche
160  General Category / EasyUI for jQuery / Disable editing on: July 17, 2015, 04:34:03 AM
Hi all,

I have a datagrid similar to the following example:
http://www.jeasyui.com/tutorial/datagrid/datagrid15_demo.html

As you can try in the demo, the user can edit the column "Unit Cost".
Since the column "Unit Cost" is calculated, I don't want that this column is editable by the user.
How is it possible ?

Any help is appreciated.
Miche
161  General Category / EasyUI for jQuery / Re: enableFilter and default value on: June 17, 2015, 11:37:16 PM
Hi Jarry,

thanks a lot for your help.

After downloading the latest 'datagrid-filter.js' all works as expected.

Regards.
Miche
162  General Category / EasyUI for jQuery / Re: enableFilter and default value on: June 17, 2015, 06:07:54 AM
Hi Jarry,

thanks a lot for your help.

I have tryed your solution but without success.

Please try the following example (this is your datagrid-filter.zip):
http://195.144.40.170/AAA/index.html

As you can see, when the datagrid is displayed for the first time, the value of the column "Status" is "All".
My problem is to set the default value to "P".
In order to do this I have added the following line:
filterRules:[{ field:'status', op:'equal', value:'P' }]
... but it doesn't work.
I am doing an error ?

Regards.
Miche
163  General Category / EasyUI for jQuery / enableFilter and default value on: June 03, 2015, 01:24:50 AM
Hi all,

in my datagrid I use "enableFilter" to do some search.
All works as expected.

I only have the following question.
Suppose that in "enableFilter" I define the following values:

data: [
   {value:'0', text:'No'},
   {value:'1', text:Yes'}
]

When I load the datagrid for the first time, I need that the filter is set to 'Yes'.
Is it possible ?

Thanks
Miche
164  General Category / EasyUI for jQuery / easyui-window and PDF file on: August 22, 2014, 09:11:08 AM
Hi all,

is it possible to open a pdf-file in easyui-window ?
On my PC, "Adobe Acrobat" is installed but the following code do not works.
"Adobe Acrobat" is not started and in easyui-window I see "strange characters":

Code:
 $('#win').window('refresh', '/file.pdf');

<div id="win" class="easyui-window" title="Pdf" style="width:300px;height:200px;">
</div>

Thanks for any help.

Regards.
Miche

165  General Category / EasyUI for jQuery / Re: How to validate dynamic input when submit the form? on: June 08, 2014, 08:35:38 AM
Not sure if this is your problem:
http://www.jeasyui.com/documentation/validatebox.php
Pages: 1 ... 9 10 [11] 12 13
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!