jQWidgets Forums

jQuery UI Widgets Forums Grid Error when using updatebounddata

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 11 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Error when using updatebounddata #53415

    HeinoVDS
    Participant

    Hi,

    I’m trying to use jQWidgets in an AngularJS application we are writting and I get the error ‘Error: this.filterrow is null’ while calling updatebounddata.
    I’ve created an AngularJS directive which encapsulates the jqxGrid and I supply the directive with 2 attributes, one for the grid options (Columns, filter, …) and one for the data options (datatype and url). Now, depending on selections the user makes, the data in the grid must be updated. At the moment I do this by defining a $watch on the url, updating the url in the data-source of the grid and calling updatebounddata on the grid:

          scope.$watch('data.url',function()
          {
            $element.jqxGrid('source').url = scope.data.url;
            $element.jqxGrid('updatebounddata');
          });
    

    This seems to work correctly except for the first time the updatebounddata method is called and I get the mentioned error.

    Does anyone have any suggestions on what I may be doing wrong?

    Thanks,

    Heino

    Error when using updatebounddata #53417

    Dimitar
    Participant

    Hello Heino,

    Please contact us at support@jqwidgets.com and we will send you an example of updating jqxGrid through AngularJS.

    Best Regards,
    Dimitar

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

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

You must be logged in to reply to this topic.