Skip to content

Grid with Endless Scrolling, Server Grouping and Server Filtering throws an error #6954

@gdenchevprog

Description

@gdenchevprog

Bug report

When the Grid has the Endless Scrolling, Server Grouping and Server Filtering operations enabled, an error is thrown when new data is being loaded.

Reproduction of the problem

You will need a back-end service that can perform the grouping and filtering of the data. In the current example, the local PHP Remote Binding demo was used with the following configuration:

$schema = new \Kendo\Data\DataSourceSchema();
$schema->data('data')
       ->model($model)
       ->total('total')
       ->groups('groups');


$dataSource->transport($transport)
           ->pageSize(60)
           ->schema($schema)
           ->serverFiltering(true)
           ->serverSorting(true)
           ->serverPaging(true)
           ->serverGrouping(true);


$scrollable = new \Kendo\UI\GridScrollable();
$scrollable->endless(true);

$pageable = new \Kendo\UI\GridPageable();
$pageable ->numeric(false)
          ->previousNext(false);

$grid->addColumn($orderID, $freight, $orderDate, $shipName, $shipCity)
     ->dataSource($dataSource)
     ->sortable(true)
     ->height(550)
     ->filterable(true)
     ->pageable($pageable)
     ->scrollable($scrollable)
     ->groupable(true);

Once the grid is configured, group it by dragging one of the columns in the group header. Then apply a filter, but make sure there are enough records for several pages after the filtering. In the Remote Binding demo you can apply a Greater Than 2 filter to the Freight column.

Begin scrolling the Grid. An error will be thrown in the console.
image

Current behavior

The Grid throws an error when it's being scrolled.

Expected/desired behavior

The Grid shouldn't be throwing an error.

Environment

  • Kendo UI version: 2022.2.621
  • jQuery version: 1.12.3
  • Browser: [all]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions