Quick way to find a record in a bound gridview?

2 posts, 0 answers
  1. Dave Galligher
    Dave Galligher avatar
    37 posts
    Member since:
    May 2010

    Posted 07 Jun 2011 Link to this post

    Hi guys,

    I'm looking for  a quick way to find a record based on one or several values in the grid, datasource for the gridview could be 100 thousand records or more (tied into inventory items for a large grocery store). Telerik gridview is used for a lookup,basically a seed value get's passed to the grid and it needs to locate the record (aka Row) and highlight it.

    Could some direct me to right location of an example that would demonstrate the required functionality? Help is appreciated. Thank you.
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 10 Jun 2011 Link to this post

    Hello Dave,

    Thank you for writing.

    There are two ways to achieve this. 

    The first one is to use our filtering mechanism and filter the desired columns in order to get to a specified record. You can either enable the end-user to filter or you can filter the data programmatically

    The other way to get a certain record is to iterate over the rows and cells in a loop and check for a certain value. 

    I hope that you find this information helpful.

    Regards,
    Stefan
    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top