EasyUI Forum

General Category => General Discussion => Topic started by: ClSoft on February 26, 2013, 12:41:59 PM



Title: Dialog from other page
Post by: ClSoft on February 26, 2013, 12:41:59 PM
Hi all
does someone have some simple example of datagrid on one page and update form on other page?
I mean something like this:
http://www.jeasyui.com/tutorial/app/crud/index.html
but there is update dialog on same page as datagrid.
Thank you very much.


Title: Re: Dialog from other page
Post by: ClSoft on March 26, 2013, 01:08:42 AM
Is this even possible?
Thanks for any comment/hint.


Title: Re: Dialog from other page
Post by: djQuery on March 28, 2013, 07:00:03 AM
<a href="/user/54/edit" target="_blank">Edit</a>
Why can't you just do something like this.


Title: Re: Dialog from other page
Post by: ClSoft on March 28, 2013, 12:07:26 PM
Thanks for the idea, but I see that I have not asked well.
I need to stay on same page, but use other HTML file for editing.
Only reason is - If I use single HTML file for everything(for grid and update forms) HTML file can be pretty big (if I have few tab's and grid and update form on each tab ...)
Thanks.


Title: Re: Dialog from other page
Post by: Kevin on April 19, 2013, 04:44:39 AM
My current project has over 2000 lines of HTML (plus another 5000 lines of own JS, plus code from jQuery and jEasyUI). I had the same concerns you were having, but can't say that I notice any speed problems with my current project (other than increased loading time). In my system, I can 'turn off' certain parts of the code (ie they are not loaded in the browser), and I don't see any difference in speed. I'm sure there must be some limit where there will be some issues. Maybe other users could share the sizes of their projects on this thread.