Hello DevExpress Support Team,
I am experiencing an issue with the DevExtreme DataGrid where setting focusedRowIndex
causes the grid to scroll to the focused row, even though autoNavigateToFocusedRow
is set to false
. Based on the documentation, the grid should not automatically navigate when autoNavigateToFocusedRow
is disabled.
Below is a simplified example that reproduces the issue:
JavaScript$(() => {
let grid = $('#gridContainer').dxDataGrid({
dataSource: generateData(100000),
keyExpr: 'id',
focusedRowEnabled: true,
autoNavigateToFocusedRow: false,
showBorders: true,
customizeColumns(columns) {
columns[0].width = 70;
},
loadPanel: {
enabled: true,
},
scrolling: {
mode: 'virtual',
},
sorting: {
mode: 'none',
},
onContentReady(e) {
e.component.option('loadPanel.enabled', false);
setTimeout(() => e.component.option('focusedRowIndex', 100), 1000);
},
}).dxDataGrid('instance');
});