davidegironi / advanceddatagridview

A .NET WinForms DataGridView with advanced capabilities
392 stars 123 forks source link

Filter options disappearing #88

Closed dGemini closed 2 years ago

dGemini commented 2 years ago

hello !

I have the following issue, using the advanceddatagridview

My data is coming from an SQL query. this datatable is then used as datasource of the advanceddatagridview, sometimes it could also be a dataview.

when I filter data, for instance on names out of the list presented when I click on the NAME heading, the filtering occurs correctly. But when I click again on that NAME heading, the list presented holds only the names that I selected before.

I can click on Clear filter or on Select All, after which the entire list is complete again, but that is not supposed to be the correct method.

simplyfied exemple in the image added : filter

What could I be doing wrong ?

thanks for your reply! K.

davidegironi commented 2 years ago

Hello, you can use the SetChecklistTextFilterRemoveNodesOnSearchMode to change the filter mode of each column. Take a llok at the sample project, you can find an example there. to call the SetChecklistTextFilterRemoveNodesOnSearchMode on the column.

dGemini commented 2 years ago

Thank you for that explanation ! Works like a charm !