jQuery UI Widgets Forums Dialogs and Notifications Window Interest error, maybe bug on nestedgrid and jqxwindow

This topic contains 3 replies, has 2 voices, and was last updated by  darkelf 9 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author

  • darkelf
    Participant

    I’m use jqxwidget perfectly. Thanks for this great tool.
    I’m encounter to interesting error. I’m use to many many control on my page. Grid, tab, nestedgrid, window vs…
    My code is work perfect. When insert code blelow and init nestedgrid my Div ID’s is give to error.

                        $("#gButceEdit").jqxWindow({
                            resizable: false,
                            width: 450,
                            height: 200,
                            autoOpen: false
                        });
    

    Invalid Selector – #xxxxxxxxx! Please, check whether the used ID or CSS Class name is correct.

    I comment above code my project code perfectly. I’m check without init nestedgrid code is OK.
    Nestedgrid init and my jqxwindow is not work perfect. Could you any idea for resolve this?
    Thanks


    Dimitar
    Participant

    Hello darkelf,

    The error means that there is no element in the DOM with an id of xxxxxxxxx and that you are trying to initialize a widget from an empty jQuery selection. A common mistake is to pass an id with a wrong case, e.g. instead of the existing myElement you pass myelement.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/


    darkelf
    Participant

    Thanks for fast reply. But this ID is apsent. And xxxxx not 1 ID. Give error too many ID.
    If I comment

          $("#gButceEdit").jqxWindow({
                            resizable: false,
                            width: 450,
                            height: 200,
                            autoOpen: false
                        });

    problem is gone, my code work perfect. Problem come to above code.

    • This reply was modified 9 years, 1 month ago by  darkelf.

    darkelf
    Participant

    Hi;
    I can’t understand why but my problem resolved…
    I try to change $(“#gButceEdit”).jqxWindow({…’s ID name and my problem is gone. I think to I used to duplicate id. I searched my project. But its uniqe ID.
    My problem was gone. Thanks…

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

You must be logged in to reply to this topic.