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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to maintain the focus on filter bar cell while changing the data source?


As per the Grid’s internal architecture, when you change the DataSource in a key press event, it makes the Grid reload to ensure the current cell ends its focus. To type continuously in the filter bar cell while the DataSource is changing, there should be workaround as follows.


When you want to maintain the focus on the filter bar cell while changing the data source on the key press event, you need to get the location and the text of the filter bar cell by using the TableControlCurrentCellKeyPress event. After changing the data source, you need to move the focus to the same filter bar cell, so that the focus is maintained on the same cell.




Sample Links:

C#: FilterBarCellFocus

VB: FilterBarCellFocus

Article ID: Published Date: Last Revised Date: Platform: Control:
4987 05/23/2015 06/16/2015 WinForms GridGroupingControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon