Hi, I’d like to create a simple confirmation poupup using jqxWindow.
The problem is that when I invoke ‘setContent’, the OK and CANCEL button are removed from the DOM.
Alternatively, instead of using setContent, I tried using jquery’s text() method. Unfortunately, this would clip the OK & CANCEL buttons in the layout.
What’s the best way to programmatically inject text content for a confirmation popup?
Hello, I’d like to display a jqxwindow – but without a title section at the top.
There does not appear to be a property that turns the title off, so I tried:
This works in removing the title section, but as a result the layout is incorrect: It appears that the overall height of the popup is not recalculated and redrawn. What’s the best way to handle this situation?
You could use another jqxWindow “for a confirmation popup”.
If you want to add additional information in the Window content to use a (<div/>) container. (as your approach)
Another option if you want to have ‘Ok’ and ‘Cancel’ buttons just could set them in the other container and just switch between .show() and .hide();
About the second question – window “without a title section”.
Please, take a look at this topic:
(My apologies for making posting 2 questions at once. That was inadvertent.)
Regarding the second question: window “without a title section”…
The link you referenced indicates that the solution is to change the jqx-window-header & jqx-widget-header classes to “display:none”.
As you can see in the demo below, this still leaves problems in the layout. It leaves extra room at the bottom of the window. Is there a way to resize the window to the proper height after the title section is removed?
You must be logged in to reply to this topic.