Hello,
I have an application that makes heavy use of WinGrids. I want to offer a search capability but i'm not sure of the best way to do it. Since the users previously did everything in MS-Access i'd like to implement that style of searching (i.e. selecting an entire column, pressing CTRL-F then being taken to the proper line).
My questiosn are: Does the control have any of these features built in already, or does anyone have any ideas that i should be thinking about, or is there a better approach that i may not be thinking of?
csweet said:My questiosn are: Does the control have any of these features built in already, or does anyone have any ideas that i should be thinking about, or is there a better approach that i may not be thinking of?
There's no built-in search feature in the grid. Jct has some good suggestions there. Or you could write code to loop through the rows of the grid and perform the search yourself.
I know two methods:
1. Using the keyboard search. The user sorts one column and the active row is changing as he type.
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=8077
2. Use the row filter. The user can type anything in the first row, and it will filter the grid rows. Look in the feature picker in the grid design dialog to set it.