jQWidgets Forums
Forum Replies Created
-
Author
-
April 7, 2014 at 2:18 am in reply to: Change color of selected menu item Change color of selected menu item #52599
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.March 18, 2014 at 2:36 am in reply to: Dynamically change appearance of rows in a grid Dynamically change appearance of rows in a grid #51224Thanks, 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?
February 9, 2014 at 6:51 pm in reply to: selectItem in a multiSelect bug selectItem in a multiSelect bug #49194Peter,
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?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?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>
Nope, still wrong. How do I post HTML here?
Oops! The markup doesn’t show up. Trying again…
AddMarkup
Credential DetailAddScript
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?
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.
-
AuthorPosts