Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
275
Adding column search functionality to a WinGrid to minic MS-Access
posted

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?

  • 469350
    Offline posted

     

    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. 

  • 17259
    Offline posted

    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.