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

Gridview 'Search in columns' - change checkbox default values

1 Answer 126 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Gone2TheDogs
Top achievements
Rank 1
Iron
Veteran
Gone2TheDogs asked on 03 Apr 2019, 03:47 PM

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)

 

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 04 Apr 2019, 10:46 AM
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: https://docs.telerik.com/devtools/winforms/controls/gridview/rows/search-row

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. 

Regards,
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.
Tags
GridView
Asked by
Gone2TheDogs
Top achievements
Rank 1
Iron
Veteran
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or