[updated] The issue is when using the PrimeNG Column Filter to search it does not match to what is being displayed but matches to the original value.
As an example I'm using longitude and latitude values where the raw format would be something like the following for their values
Display values would be to cut off leading zeros mostly and trim the total length of digits to 5
Issue: Performing a Column filter 'Starts With' of 12 in order to match to the visible value of 12.3456 does not find anything because the record data passed in is 012.34567. Same issue with 'Ends With'.
Issue: To find the match you would need to know the raw format of 012.34567 and perform a Column filter 'Starts With' search of of 012 in order to match to the visible value of 12.3456. This makes no sense.
I found GitHub Issue posts on this from years back but nothing within the last few years.
*** Is there a way around this to fix the filter ability? ***
OR
*** Do you have a better solution that this component can do easily? ***
Closest post I could find dealing with different filtering on values displayed was Apply custom In Between Filter for PrimeNG: Datatable
*** UPDATED 06/08/2022 ***
StackBlitz example which uses a datatable with car data.
The car data contains a VIN where I modified the values to be prefixed with 'xx'.
The display filters off the 'xx'.
You can search the column for what is viewed and match it to the raw data.
How can I modify the built in options for Filtering to use my filter instead of specific built in ones.
For example, I want to replace the built in 'Starts With' and 'Ends With' filter options with my own functionality but KEEP all the other built in options.
I was able to find the solution. See my StackBlitz Solution
You would need to adjust the file: app.component.ts section
this.filterService.register(customFilterName, (value, filter): boolean => {...
to implement custom filter searches you are looking to perform such as accounting for prefixed values that are cut from the display or if you wanted to search an object that was transformed to a readable value such as a date object.