Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
Selecting and Scrolling to a Row
posted

Obviously, selecting an existing row via code-behind upon initial page load is a common task for data-driven applications. We have many instances in our application where previously selected options need to be selected on page load. I have managed to do this even when the row is not on the front page, it will calculate the page it is on, change the page index, and then select the row. However, I do not know how to make the grid scroll to make the selected record visible by default. Is this at all possible? I think that it is fairly important that the user be able to see the existing selection initially.