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

How do i search hidden columns

3 Answers 161 Views
GridView
This is a migrated thread and some comments may be shown as answers.
High
Top achievements
Rank 1
High asked on 01 Dec 2016, 05:23 PM
I am using the trial for WPF and i have a datagrid set up with a 10 visible columns and 20+ that are hidden.

I have the search panel show above the datagrid. i would like to search for values in the hidden columns.

 

For example, the datagrid shows locations and address of buildings. lets say i want to find a record where 'Comments' column contains "secret message"

 

Visual aid: https://www.dropbox.com/s/6mfcxlvz2qhzqjd/Untitled.png?dl=0

3 Answers, 1 is accepted

Sort by
0
High
Top achievements
Rank 1
answered on 01 Dec 2016, 07:11 PM
also, all the properties for each row is accessible via `SelectedItem`
0
High
Top achievements
Rank 1
answered on 01 Dec 2016, 07:12 PM
whoops, i meant `ItemsSource`. is it just me or am i unable to edit my posts
0
Martin
Telerik team
answered on 05 Dec 2016, 09:47 AM
Hi,

As you have probably seen in the Release Notes for R1 2016, search criteria are applied only to visible columns, and I'm afraid that for the time being there is no way to override this behavior. However, a feature request has been logged in our feedback portal and if the demand for such feature is high, we will consider implementing it in future releases.

I hope that this helps.

Regards,
Martin Vatev
Telerik by Progress
Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
Tags
GridView
Asked by
High
Top achievements
Rank 1
Answers by
High
Top achievements
Rank 1
Martin
Telerik team
Share this question
or