jQWidgets Forums
Forum Replies Created
-
Author
-
Hristo,
Thank you for the suggestion. I actually do have 2 divs in the jqxWindowPopup my actual program – I accidentally omitted it in the example – sorry.
The behavior you suggest isn’t quite what I was hoping for. In your example, I have to do a series of event programming to catch all of the possible events that can happen with the popup window. The actual Popover moves with the parent window and closes automatically when the parent window is clicked.
A better solution would be to have this behavior cascaded to the popover of the popup. In fact, if you make the popover modal, the main window is disabled, not the popup window.
If you are planning a fix for this in a future release I will code a temporary fix and wait for the real fix.
Otherwise, do you have any other suggestions?
Thanks,
Rob
Here is a simple example of what I mean. Notice that the popover does NOT open with the popup window as its parent. Rather, it opens with the main document as its parent. You can alter the isModal attributes to further illustrate.
thank you!
<!doctype html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<meta name=”Generator” content=”EditPlus®”>
<meta name=”Author” content=””>
<meta name=”Keywords” content=””>
<meta name=”Description” content=””>
<title>Document</title>
<link rel=”stylesheet” href=”../../jqwidgets/styles/jqx.base.css” type=”text/css” />
<script type=”text/javascript” src=”../../scripts/jquery-1.11.1.min.js”></script><script type=”text/javascript” src=”../../jqwidgets/jqxcore.js”></script>
<script type=”text/javascript” src=”../../jqwidgets/jqxwindow.js”></script>
<script type=”text/javascript” src=”../../jqwidgets/jqxbuttons.js”></script>
<script type=”text/javascript” src=”../../jqwidgets/jqxtoolbar.js”></script>
<script type=”text/javascript” src=”../../jqwidgets/jqxpopover.js”></script><script type=”text/javascript”>
$(document).ready(function () {
$(‘#jqxButton’).jqxButton( { width: ‘150’} );
$(‘#jqxButton’).on(‘click’, function () {
$(‘#jqxWindowPopup’).jqxWindow( { isModal: true, autoOpen: false, width: ‘85%’, height: ‘85%’ });
$(‘#jqxToolBar’).jqxToolBar({
width: ‘100%’, height: 35, tools: ‘button’, initTools: function (type, index, tool, menuToolInitialization) {
tool.jqxButton( { width: 50 });
tool.attr(‘id’, ‘jqxMenuButton’);
tool.text(‘Popover’);
tool.on(‘click’, function () {
})
}
});
$(‘#jqxPopover’).jqxPopover( {selector: $(‘#jqxMenuButton’), showCloseButton: true, isModal: true });
$(‘#jqxWindowPopup’).jqxWindow(‘open’);
});
});
</script>
</head>
<body>
<div>
<input type=”button” value=”Open Window” id=’jqxButton’ />
</div>
<div id=’jqxWindowPopup’>
<div id=’jqxToolBar’></div>
</div>
<div id=’jqxPopover’></div>
</body>
</html>September 11, 2015 at 3:07 pm in reply to: jqxEditor – editable=false allows paste jqxEditor – editable=false allows paste #75776Hi Peter,
Thanks for the quick reply. I suppose your recommendation is a possibility, however there are other ways (via keyboard SHIFT-INS for example) that also paste data into the editor control even though it is set to editable=false. I guess I was looking for the control to be truly readonly with editable=false.
Thanks for your consideration,
Rob
September 10, 2015 at 5:09 pm in reply to: Support for Microsoft Edge Support for Microsoft Edge #75736Hi,
Using Microsoft Edge, in your online Theme Builder / Load, I am unable to paste into the edit box. It works fine in other browsers.
Ideas?
Thanks,
Rob
May 21, 2015 at 2:26 pm in reply to: DataTable Scrolling Performance DataTable Scrolling Performance #71414Peter,
Thank you very much for the quick reply. I will certainly turn paging on for the large data sets that I have.
Regards,
Rob
May 20, 2015 at 11:35 pm in reply to: DataTable Scrolling Performance DataTable Scrolling Performance #71366Hi – One additional piece of information. I am using IE 11. In Chrome everything is fast and works great!
Is there anything that I can do to make IE 11 work faster (other than not using it! Haha)?
Thanks,
Rob
May 12, 2015 at 5:50 pm in reply to: singleRow doesn't work & parseDate error in jqxData.js singleRow doesn't work & parseDate error in jqxData.js #71025Update:
I decided to re-download the 3.8.0 version and the problem is now resolved.
Thank you for your continued support and please consider this issue closed.
Rob
May 12, 2015 at 5:00 pm in reply to: singleRow doesn't work & parseDate error in jqxData.js singleRow doesn't work & parseDate error in jqxData.js #71023Has anyone else had this issue?
Thanks a ton!
Rob
May 12, 2015 at 4:44 pm in reply to: singleRow doesn't work & parseDate error in jqxData.js singleRow doesn't work & parseDate error in jqxData.js #71019Ivailo,
I apologize for the confusion. My earlier post was a typo. Let me try to explain the issue:
I upgrade to the latest jqWidgets. When I run my application that uses a DataAdapter and DataTable, I receive an error internal to jqWidgets in the jqxData.js file. This error is NOT in my code. I receive the following web page error:
Line: 7
Error: Object doesn’t support property or method ‘parseDate’When I allow the web page debugger to launch, I see the following highlighted from your jqxdata.js code:
var ab=ae.parseDate(N,”d”,aj)||ae.parseDate(N,”dd”,aj)||ae.parseDate(N,”ddd”,aj)||ae.parseDate(N,”dddd”,aj);
with the error:
Object doesn’t support property or method ‘parseDate’
Please advise as I cannot run my application with this error.
Thanks,
Rob
May 11, 2015 at 4:51 pm in reply to: singleRow doesn't work & parseDate error in jqxData.js singleRow doesn't work & parseDate error in jqxData.js #70938Ivailo,
I believe I figured out why my DataTable ignores the “singleRow” setting of the “selectionMode”. I believe that when the “datafields” property “source” object that feeds the DataAdapter of the DataTable is null, the DataTable relies on the “columns” property of the DataTable to generate the data for the table. I believe in this instance, the “selectionMode” setting is ignored. When I set the “source.datafields” property to a valid list of data fields, the DataTable now honors the “singleRow” setting.
Thank you for your quick response on this.
Also, please look at my other issue in regards to the parseDate function in the jqxData.js.
Thank you very much,
Rob
May 11, 2015 at 3:05 pm in reply to: singleRow doesn't work & parseDate error in jqxData.js singleRow doesn't work & parseDate error in jqxData.js #70936Ivailo,
Thank you. I have another DataTable in the same web application that works fine. I will continue to try to figure out what is wrong.
Have you looked at the parseDate error in the jqxData.js? I had to modify the code in this routine to change 17 instances of parseDate to parsedate. This was the only way I could get the upgrade to work without throwing an error.
Thoughts?
Rob
-
AuthorPosts