jQWidgets Forums

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Prevent tab close Prevent tab close #53193

    mg
    Participant

    Great!, sometimes i love jqwidgets but other times i feel frustrated when i read: “We currently have no plans to add this functionality” many times i resolved problems like that with hacks and tricks. jqwidgets is a very good library but sometimes i feel frustrated….

    in reply to: Prevent tab close Prevent tab close #53144

    mg
    Participant

    I have the same problem, but i solved with a little trick:

    1. Attach to mousedown event of .jqx-tabs-close-button. I call jqxTabs addLast method first, then i call jquery mousedown method.
    2. On mousedown event, for example do:

    if (confirm(“Close?”)) {
    $(this).trigger(‘click’);
    return true;
    }
    return false

    Works for me!
    MG

    in reply to: Input autocomplete Input autocomplete #30493

    mg
    Participant

    Correct, is a bug? could be interesting if i can override a render popup function to customize when or not show that popup.

    MG

    in reply to: Input autocomplete Input autocomplete #30446

    mg
    Participant

    BTW, im trying to accomplish this with tricks like jqxgrid “disable : true” in handlekeyboardnavigation event before ajax is called and when ajax call return, “disable: false” to make a look of jqxgrid “busy” but the editor is still enable and the user can type anything and “disable: true” of jqxgrid dont work in this case.

    MG

    in reply to: Input autocomplete Input autocomplete #30434

    mg
    Participant

    Thank for your anwser, but even with “async: false” ocurrs this event. Whats options i have?

    MG,

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