jQWidgets Forums

Forum Replies Created

Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
    Posts
  • in reply to: jqxPopover "Parent" jqxPopover "Parent" #78505

    roblajolla
    Participant

    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

    in reply to: jqxPopover "Parent" jqxPopover "Parent" #78467

    roblajolla
    Participant

    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>


    roblajolla
    Participant

    Hi 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

    in reply to: Support for Microsoft Edge Support for Microsoft Edge #75736

    roblajolla
    Participant

    Hi,

    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


    roblajolla
    Participant

    Peter,

    Thank you very much for the quick reply. I will certainly turn paging on for the large data sets that I have.

    Regards,

    Rob


    roblajolla
    Participant

    Hi – 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


    roblajolla
    Participant

    Update:

    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


    roblajolla
    Participant

    Has anyone else had this issue?

    Thanks a ton!

    Rob


    roblajolla
    Participant

    Ivailo,

    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


    roblajolla
    Participant

    Ivailo,

    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


    roblajolla
    Participant

    Ivailo,

    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

Viewing 11 posts - 16 through 26 (of 26 total)