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 focus filter in GridDataControl

Thread ID:





120666 Oct 1,2015 01:25 PM UTC Oct 5,2015 05:59 AM UTC WPF 4
Tags: GridDataControl
Asked On October 1, 2015 01:25 PM UTC

Simple application, which shows list of items. Each column have filter cell (by ShowFilterBar="True") - how to put focus on filter cell? 

I mean - I've run application and it is already prepared for filtering - no need additional mouse click to go to filter cell. How to focus one of the filter cells?

Sorry for my english

Attachment: 20151001_162200k3xqh_4a1933c.zip

Ganeshkumar Lingappan [Syncfusion]
Replied On October 2, 2015 02:53 PM UTC

Hi Viktoras,
Thanks for contacting Syncfusion support
We have analyzed your query. You can achieve your requirement to set the focus on filter cell by setting the currentcell as like in the below code example.

void dataGrid_Loaded(object sender, RoutedEventArgs e)


     this.dataGrid.Dispatcher.BeginInvoke(new Action(()=>


         this.dataGrid.Model.CurrencyManager.CurrentCell.MoveTo(1, 2);               




We have also prepared the sample based on this and you can download the sample from the below location,
Sample-Location : http://www.syncfusion.com/downloads/support/forum/120666/ze/FilterBarDemo-328326010
Please let us know if you require further assistance.

Replied On October 2, 2015 06:03 PM UTC

Thank you for replay. My bad - i'm not enough clearly described the problem. I'm not need to EDIT cell. First cell in attached picture is a FILTER. I want to focus a filter cell. Top row on a picture - is a filter. I mean if i'll enter text in this cell - filtered all content of grid. I start typing "A" - in grid just all rows containing "A". etc. 

How do i focus FILTER cell?

Replied On October 4, 2015 05:56 PM UTC

Sorry, i've comliled sample - all working as i need. Thank you!

Elangovan S [Syncfusion]
Replied On October 5, 2015 05:59 AM UTC

Hi Viktoras,

Thank you for your update.

Please let us know if you require any other assistance.


Elangovan S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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