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