We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Lost Focus

Pls find here in the attached Application. First poopulate the table by clicking populate button. Now select the topmost row, the scroll bar moves focus to some pother row and this behaviour is persistent. How do i disable the focus uch that row scroll doesnot move to that position. Syncfusiontestapps_749.zip

1 Reply

AD Administrator Syncfusion Team November 16, 2004 08:34 AM UTC

When you set style.Enabled = flase, you are indicating you do not want that cell to ever become the current cell. If all such cells are like this, then there is a problem and the grid cannot move teh current position. That is why teh grid is always trying to display the triangle row after you click another row. I think you can get the behavior you want by not handling QueryCellInfo, but instead handling CurrentCellActivating and setting e.ColIndex = 0. Here is your sample back with this change. forumscroll_4406.zip

Loader.
Live Chat Icon For mobile
Up arrow icon