jQWidgets Forums

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts

  • alexl
    Participant

    This is only a half-way solution. It changes the color of the last chosen item permanently.
    What is needed is to revert the colors of all other items back to the original state.
    Please advise. Thanks.


    alexl
    Participant

    Thanks, Peter, it works indeed!
    But! There seems to be a but all the time, doesn’t it? 🙂

    This approach allows me to change the style only at load time, and not dynamically, without repopulating the whole grid.

    This kind of interaction would be actually very useful, allowing the user to see what rows have been “processed” by him already and, potentially, reverted, in which case we would need to restore the default theme. Thoughts?


    alexl
    Participant

    Peter,
    thanks for noticing the ‘selectedIndex’ property in the initialization call, it’s a leftoever from your jsfiddle code.

    However, I had just tried to remove it. The bug is still there.
    BTW I never noticed anywhere in your API docs that any of ‘select’ type calls have a toggle effect. Is it the case for all widgets?

    in reply to: jqxButton inside jqxWindow jqxButton inside jqxWindow #16992

    alexl
    Participant

    It has worked finally, thank you. The issue was in me failing to include jqxButtons component.
    Which brings up a question: is introducing an autoload feature (like the on in YUI, for instance) somewhere on your roadmap?

    in reply to: jqxButton inside jqxWindow jqxButton inside jqxWindow #16867

    alexl
    Participant

    Let’s see if this works:

                <td><div id="btnCredAdd"><img style="float:left;margin: 4px;" alt="" src="${requestScope['serverConfig']}/img/add.png"/>
    <div style="float: left;margin: 4px;">Add</div></div></td>
    in reply to: jqxButton inside jqxWindow jqxButton inside jqxWindow #16851

    alexl
    Participant

    Nope, still wrong. How do I post HTML here?

    in reply to: jqxButton inside jqxWindow jqxButton inside jqxWindow #16850

    alexl
    Participant

    Oops! The markup doesn’t show up. Trying again…

    Add
    in reply to: jqxButton inside jqxWindow jqxButton inside jqxWindow #16849

    alexl
    Participant

    Markup

    Credential Detail

    Add

    Script

    var makeCredentialWindow = function() {
    $(‘#divCredentialWindow’).jqxWindow({
    showCollapseButton:false, resizable:false, draggable:false,
    height:200, width:400,
    position:'{ x: 200, y: 400 }’,theme: theme,
    initContent: function() {
    $(‘#btnCredAdd’).jqxButton({theme: theme, height:’22px’, width:’50px’});
    }
    });
    };

    Also, I suspect that a similar issue might be lurking when using jqxInput inside jqxWindow. Smells like some kind of clash of classes being assigned by the framework, no?

    in reply to: jqxButton inside jqxWindow jqxButton inside jqxWindow #16835

    alexl
    Participant

    Hello, Peter, thanx for a quick response.

    Yes, i do in fact. And doing it after the window has been initialized is no help either.

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