This is a migrated thread and some comments may be shown as answers.

ctrl+F FIND option

1 Answer 103 Views
GridView
This is a migrated thread and some comments may be shown as answers.
CAKA
Top achievements
Rank 1
CAKA asked on 17 Nov 2014, 01:32 PM
Is it posible in RadGridView to search data from the grid when you press Ctrl+F combination (Like DevExpress GridView component)?

If this is not possible you can do this in next version. This is very confortable.

Best regards!

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 18 Nov 2014, 11:50 AM
Hi,

Thank you for sharing your feedback. Currently, RadGridView does not suggest such a built-in functionality.

In order to detect the Ctrl + F combination and show a search window, I can suggest you is to handle the KeyDown event of the grid.

For example:

private void clubsGrid_KeyDown(object sender, KeyEventArgs e)
{
    if(e.Key == Key.F &&  Keyboard.Modifiers == ModifierKeys.Control)
    {             
        myWindow.Show();
    }
}

The content of the control may be a custom user control that will be responsible for searching the items. As an example you may take a look at this blog post for a reference. In your case the searching TextBox should be defined in your custom user control.

Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
GridView
Asked by
CAKA
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or