Expected:
When a scrollable grid has loaderType = 'skeleton', and when a user clicks sort on a column, the scroll bar will not move.
Actual:
The scrollbar resets to the beginning.
Code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Kendo UI Snippet</title>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://kendo.cdn.telerik.com/2025.1.227/js/kendo.all.min.js"></script>
<link rel="stylesheet" href="https://kendo.cdn.telerik.com/themes/10.2.0/default/default-ocean-blue.css">
<script src="https://unpkg.com/jszip/dist/jszip.min.js"></script>
</head>
<body>
<div id="grid"></div>
<script>
// The dataSource is initialized as a stand-alone widget that can be bound to the Grid.
var dataSource = new kendo.data.DataSource({
transport: {
read: {
// The remote endpoint from which the data is retrieved.
url: "https://demos.telerik.com/kendo-ui/service/products",
dataType: "jsonp"
}
},
pageSize: 10
});
$("#grid").kendoGrid({
// The dataSource configuration is set to an existing DataSource instance.
dataSource: dataSource,
pageable: true,
columns: [
{width: 500, field: 'ProductID' },
{width: 500, field: 'ProductName' },
{width: 500, field: 'UnitPrice' },
{width: 500, field: 'UnitsInStock' },
{width: 500, field: 'Discontinued' },
{width: 500, field: 'test' }
],
scrollable: true,
sortable: true,
loaderType: "skeleton",
});
</script>
</body>
</html>
Dojo: https://dojo.telerik.com/gmdqkCcS
Is there a fix/workaround for this?