Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

361
Views
PrimeNG - column filtering and languages with tones/accents

I want to perform filtering into columns of a table that contains data in Greek language.

Unfortunately the <p-columnFilter> component internally does not seem to recognize the characters with tones to be the same with the same character without a tone. For example a vowel with a tone (ή) is not matched with the same vowel witout tone (η).

Example with pictures below:

1) Filtering using the tone ή

1) Filtering using the tone ή

2) Filtering without using the tone η (which does not match with ή)

Filtering without using the tone η (which does not match with ή)

In most filters out there on the web, characters with tone are matched with the same characters without tone and vice versa, how can I achieve the same here? Maybe if I could use the localeCompare function as filter function as an attribute in the columnFilter, but the documentation is not detailed in the table filtering section

I posted the same question in their github repository but I have not received any answer yet.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

After reading their documentation, it looks like they don't expose their p-columnFilter component, nor is there an eventEmitter to get value changes on the input fields.

The fastest way to resolve your issue would be using their filter service and writing a custom filtering like this. (I used locale-contains library for this one): https://stackblitz.com/edit/primeng-filterservice-demo-qv3t3k?file=src%2Fapp%2Fapp.component.ts

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!