jQuery UI Widgets Forums Grid Why grid removes the filters after updaterow?

Tagged: , ,

This topic contains 1 reply, has 2 voices, and was last updated by  Stanislav 5 years, 7 months ago.

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

  • Zabelsky

    Hello,i have question.
    I`m used signalR for search changes from other page.

    function updateGrid(id) {
                var entities = deepIdSearch(id);
                var ids = [];
                for (var i = 0; i < entities.length; i++) {
                if (ids.length > 0) {
                    dataService.tractors_getById(id).then(function (response) {
                            var d = $scope.settings.source;
                            var value = entities[0];
                            var index = d.indexOf(value);
                            var id = $scope.settings.jqxGrid('getrowid', index);
                            var row = createRow(response);
                            $scope.settings.jqxGrid('updaterow', id, row);
            $scope.$on("dbChange" + Enum.DbChangingItem.Tractor.description, function (e, args) {
                var id = args.id;

    When a method works till the end,the table automatically cleans the filters
    Exactly the same way I used at other page,but there is working.
    What`s happenned?


    Hello AlexeyZabelsky,

    Your problem probably comes from the fact that you are updating the whole grid and not just the row.
    Maybe try with refresh or refreshdata?

    And what do u mean by for search changes from other page. What other page exactly?

    Best Regards,

    jQWidgets Team

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

You must be logged in to reply to this topic.