Datagrid search box requires wildcard to search partial words?

Datagrid search box requires wildcard to search partial words?

avatar
Product: PowerShell Universal
Version: 4.3.4


I want to confirm what I am seeing… Most web search boxes in tables will search as you type even if it finds partial hits. I thought that is how it worked with a datagrid from past tests… but now I am seeing it will not return results unless one of two scenarios:

1: Exact word match: Example: “bob” to return any rows with bob
2: Partial word with wildcards. Example “bo*” for bob

If I search for “bo” it will return nothing

Is this how it is supposed to work? I want to confirm before I submit a feature request… Having to use * is not intuitive so it would be nice to have that capability.

All Comments (3)

avatar

Bump. Still trying to figure out if there is a way to do a wild card search in the quickfilter box without having to use * in front and back. I see in the Eventdata its in quickfiltervalue but not sure if we can change the settings:

{ “filter”: { “items”: “”, “logicOperator”: “and”, “quickFilterValues”: “SK_”, “quickFilterLogicOperator”: “and” }, “page”: 0, “pageSize”: 10, “sort”: }

This does not work
e75b9a208b44a847c196a4944b28418442b9a0c6


But this does to filter on SK_*
1867959d599776151c4994f8d65d9563693f771f


It feels like underneath the hood it is do a direct 1 for 1 search instead of defaulting to a wildcard search as one would expect in this type of quick filter.

1867959d599776151c4994f8d65d9563693f771f.png

e75b9a208b44a847c196a4944b28418442b9a0c6.png

avatar

Bump as well - @Adam Driscoll is there any way to circumvent or account for this on our end?

avatar

Good question!

I also opened an issue two weeks or so ago

github.com/ironmansoftware/powershell-universal