jQWidgets Forums

jQuery UI Widgets Forums Vue jqxwindow not rendering

This topic contains 2 replies, has 2 voices, and was last updated by  jqwidgetsdev 2 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • jqxwindow not rendering #127265

    jqwidgetsdev
    Participant

    Hi,

    I am trying to show a window and menu.
    The problem is the window is not showing, but I don’t know why.
    Anyone can take a look?

    Thank you.

    <template>
      <div>
        <JqxMenu
          ref="myMenu"
          :width="'100%'"
          :height="30"
          :mode="mode"
          :enableHover="enableHover"
          :keyboardNavigation="true"
          :popupZIndex="2000"
        >
          <ul>
            <li ref="menuAbout">About</li>
          </ul>
        </JqxMenu>
        <JqxWindow
          ref="jqxWindowAbout"
          :width="600"
          :height="400"
          :isModal="true"
          :autoOpen="true"
        >
          <div>title</div>
          <div>content</div>
        </JqxWindow>
      </div>
    </template>
    
    <script>
    import JqxMenu from "jqwidgets-scripts/jqwidgets-vue/vue_jqxmenu.vue";
    import JqxWindow from "jqwidgets-scripts/jqwidgets-vue/vue_jqxwindow.vue";
    
    export default {
      name: "Menu"
      ,components: {
        JqxMenu
        ,jqxWindow
      },
      data() {
        return {
          mode: "horizontal"
          ,enableHover: false
        }
      }
      ,methods: {
        init: function () {
        }
      }
    }
    
    </script>
    
    jqxwindow not rendering #128152

    Hi,

    Sorry, I couldn’t reproduce your problem, please see here: https://codesandbox.io/embed/practical-forest-owcoto?fontsize=14&hidenavigation=1&theme=dark
    Can you send us a demo of the problem?

    Best regards,
    Svetoslav Borislavov

    jQWidgets Team
    https://www.jqwidgets.com/

    jqxwindow not rendering #128369

    jqwidgetsdev
    Participant

    Hi Svetoslav,

    When I worked your example into my code it worked. Also not sure why my original code wasn’t working.
    Anyway, thank you!

    Best regards.

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

You must be logged in to reply to this topic.