jQWidgets Forums

jQuery UI Widgets Forums Grid Uncaught TypeError: Cannot read property 'length' of undefined

This topic contains 2 replies, has 3 voices, and was last updated by  Brett lee 9 years, 9 months ago.

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

  • Markus
    Participant

    Hi,

    we’re facing a weird problem.
    We try to use two jqxgrid’s at a time in one aspx file. The first grid will be in the first step initialized and then in a second step filled up with data. Then the second grid, which will be shown on demand in an jqxwindow, will be initialized and then filled up with data, too. Both grid’s are using the same initializing and loading code.
    This procedure works fine for the first grid, but the second grid fails and throws the error mentioned in above.

    I examined the point where the error happens. When the dataAdapter should be assigned to to the source property of the second grid the error is thrown. Then the success function of the loadserverdata function is called. Inside the success function I can investigate the data and they’re looking good.

    Why works this only for the first grid and not for the second, too?

    Greetings
    Markus


    Peter Stoev
    Keymaster

    Hi Makrus,

    If you experience some issue and need help, then please provide an example in JSFiddle which demonstrates your scenario.

    Best Regards,
    Peter Stoev

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


    Brett lee
    Participant

    Hi,

    I am trying to implement custom filter for the columns.

    I created a text input and two buttons filter and clear and appended to filter panel.
    on the click of filter button am calling applyfilters method . It is throwing an error like this.

    Uncaught exception: cannot read property length of undefined. jquery.min.js.

    Please help me.

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

You must be logged in to reply to this topic.