Hello, When I have a wide data grid and the error popup dialog is displayed (like No Record Selected), then the grid is scrolled horizontally to the middle. I prepared a sample with wide columns so there is a horizontal scrollbar present. When the user presses [Delete] without selecting any rows, then the grid scrolls with a whole screen contents. What could I do to disable such scrolling?
PSPrathap Senthil Syncfusion Team April 13, 2023 01:40 PM UTC
Based on your concern, it
appears that the error popup dialog is causing the grid to scroll with the
whole screen contents when the user presses [Delete] without selecting any rows
in a wide data grid. We would like to inform you that the dialog box is designed
to appear at the center of the grid by default. However, to avoid the grid from
scrolling with the whole screen contents when the dialog is shown, you can use
the "Width" property of the Grid based on your requirement.
Please refer to the attached code snippet for an example: