DataGridView filter - combobox column
Posted on 2006-06-20
I am working on implementing a full-text search for a datagridview. Currently, I just use some backgruond logic to create a rowFilter statement and set this into the bindingSource.Filter property of the dataGridView's datasource.
This method, however, does not account for a DataGridView's combobox columns - since I am filtering the underlying datasource, I am really filtering on the value of the column, not on the text - what I really want to be able to do is filter by the text (hence the "full-text search"...).
My question is the following: Is there a way to filter the DataGridView so that I can incorporate the text of the cells, rather than the values?
I would like to avoid 3rd party controls if at all possible, so please don't suggest this as a solution...