EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 19, 2024, 10:28:56 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
DateTimeBox in dialog window
Pages: [
1
]
« previous
next »
Print
Author
Topic: DateTimeBox in dialog window (Read 4675 times)
RML
Newbie
Posts: 2
DateTimeBox in dialog window
«
on:
October 09, 2014, 07:50:18 AM »
I am having problems having a DateTimebox work in a dialog window.
the DateTimeBox is in the testLayoutDialog.html page.
function openDialog(){
var path = 'testLayoutDialog.html';
//Open Window
$("#managementwindow").load(path).dialog({modal:true,width:800,height:700,title:"My Test Date Box "});
}
Will the DateTimeBox work in a dialog window that is in a page that is loaded into the dialog window?
Thanks in advance for the help!
Ron
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: DateTimeBox in dialog window
«
Reply #1 on:
October 09, 2014, 03:12:14 PM »
Please set 'href' property or call 'refresh' method to load external page content.
Logged
RML
Newbie
Posts: 2
Re: DateTimeBox in dialog window
«
Reply #2 on:
October 10, 2014, 08:04:13 AM »
Thanks Jarry! The href worked and I removed the .load
Here is the code that worked.
function openDialog(){
var path = 'testLayoutDialog.html';
//Open Window
$("#managementwindow").dialog({href:path,modal:true,width:800,height:700,title:"My Test Date Box "});
}
The refresh method also worked:
$('#managementwindow').dialog({
title: 'My Test Date Box ',
width: 800,
height: 700,
cache: false,
href: path,
modal: true
});
$('#managementwindow').dialog('refresh', path);
Thanks again!
Ron
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...