Hi, right now I'm using the WPF GridView, and have the filter row turned on. I've turned off the filtering panel and instead selected a default filter for the user to make it simple. But my problem is that if a user has their cursor in the first filtering textbox and they hit the "tab" button, it selects the next filtering cell, rather than the next filtering textbox. They're essentially having to press tab twice to move from filter textbox to filter textbox.
I saw the "TabStopMode="Skip"" but that seems to only apply to the actual cells of the gridview, not the filter row. So how do I prevent having to double tab in the filter row?
3 Answers, 1 is accepted
May I ask you some questions in order to better assist you? Can you let me know what you mean by "I've turned off the filtering panel"? Have you made any modifications to the FieldFilterControl's ControlTemplate? If so, may I ask you to share them so that I can better understand the described scenario?
As for the TabStopMode, indeed this is a property of the column and is applied to the GridViewCell elements. However, the GridView FieldFilterControl which is responsible for filtering when the FilteringMode is FilterRow, is inside the GridViewHeaderCell element.
I am looking forward to your reply.
I also, interrupted the EditorCreatedEvent to hide the "Match Case" button, and the FilterOperatorsLoadingEvent to set default filter values:
The end result of all of this is that I end up with a gridview, with text filter boxes, that provide a highly simplified interface with "filter as you type" like the attached image. The problem is just that hitting tab once tabs to the next header cell, and the second tab gets you into the next filter textbox, whereas I want to skip tab selecting the cell and go straight into the next filtering box:
Thank you for the detailed information. It was very helpful in understanding the exact scenario.
I believe you should be able to achieve what you are going for by setting the IsTabStop property of the ContentControl inside the ControlTemplate of the FieldFilterControl to False. I am attaching a sample project which I prepared to demonstrate this for your reference.
I hope this helps.