jQWidgets Forums

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: drag and drop drag and drop #79277

    Thomas Schmidt
    Participant

    Hi

    I want to change mouse cursor while dragging an object to indicate where the dropping of the object is allowed and where not.

    I added a dragging handler to all objects which may be dragged:

    dragitems.on (‘dragging’, onDragging);

    and a handler routine which just sets the cursor:

    function onDragging(event)
    {
    var myCursor = …;
    $(this).jqxDragDrop( {cursor:myCursor} );
    }

    But the cursor definitely does not change when I drag any object.
    What do I wrong?

    Regards Thomas


    Thomas Schmidt
    Participant

    Hi Ivailo

    Thank you for your quick answer. But unfortunately that what you recommend does not work. Even if I create first the <div> with all calendar content and then I convert the div to a jqxPanel the IE takes very long until the result is displayed and hangs up if you scroll. All other browsers work fine.

    It seems so that the problem occurs if a jqxPanel with big html content is displayed with IE.
    No matter if the jqxPanel is created first and then filled witch content or vice versa.

    Do you have any mor ideas?

    Best Regards
    Thomas Schmidt

    in reply to: change event does not fire change event does not fire #72426

    Thomas Schmidt
    Participant

    Thank you Dimitar

    Your comment was very helpful.

    Regards
    Thomas

    in reply to: change event does not fire change event does not fire #72354

    Thomas Schmidt
    Participant

    Hi Dimitar

    Thank you first for your quick answer. I installed the latest version 3.8.0 as you recommended. The problem is the same. In trying to find out what the problem is, I found the following very strange behaviour:

    HTML Code is:

    <select id=’abc’>
    <option value=’United States’>United States</option>
    <option value=’Germany’>Germany</option>
    </select>

    If I write the following JS-Code:

    $( ‘#abc’ ).jqxComboBox({ width:200, height:22, selectedIndex:1 });
    $( ‘#abc’ ).on(‘change’, rrr);

    The code runs well. The combobox is created well and the function rrr is called on every item change.
    But if I write instead:

    var x = $( ‘#abc’ ); // Store the result of the selector to a variable x
    x.jqxComboBox({ width:200, height:22, selectedIndex:1 });
    x.on(‘change’, rrr);

    The combobox is created well.
    But the function rrr is NOT CALLED on item change.

    I like it to store the result of selectors $(…) to variables if I need selector in the following code more than once because every call of the selector scans the DOM and that results a bad performance.

    I do this with all my JQX objects and it works fine in any context except the combobox. It even runs with the combobox if I create it from a <div> and load the item list via ajax call. But it does not work with the combobox if I create it from a <SELECT> like in the example above.

    I really do not understand that.
    Something seems to be strange here.
    Can you help me?

    Regards
    Thomas

    in reply to: Quest Grid Column Order Quest Grid Column Order #70578

    Thomas Schmidt
    Participant

    Thank you so much

    Thomas

Viewing 5 posts - 1 through 5 (of 5 total)