Gridview 'Search in columns' - change checkbox default values

2 posts, 0 answers
  1. Gone2TheDogs
    Gone2TheDogs avatar
    66 posts
    Member since:
    May 2016

    Posted 03 Apr 2019 Link to this post

    I have a very large gridview and many times when the user utilizes the search row, the screen locks up because the search never returns. I noticed that all of the checkboxes in "Search in Columns" list are checked by default. After talking with the users, I learned that they only really use a couple of the columns to search in. 

    In what event and how do I override the default for these checkboxes?


    (screenshot attached)


  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    3993 posts

    Posted 04 Apr 2019 Link to this post

    Hello, Bob,    

    Each column offers the AllowSearching property which controls whether to search in this column or not. If you set it to false for a certain column, this means that this column will be skipped in the searching behavior. Additional information is available in the following help article:

    this.radGridView1.AllowSearchRow = true;
    this.radGridView1.Columns[0].AllowSearching = false;
    this.radGridView1.Columns[5].AllowSearching = false;

    If you are experiencing any undesired behavior regarding the performance in RadGridView, it would be greatly appreciated if you can give us some more details how to reproduce the problem.  You can submit a support ticket with additional information on this topic. A sample runnable project that demonstrates the issue would be also greatly appreciated. Thus, we would be able to make an adequate analysis of the precise case and assist you further. Thank you in advance.

    I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

    Dess | Tech Support Engineer, Sr.
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top