0

I am using primeng 14 version in an Angular 14 project. The issue scenario is, in a table, one specific column has same value in all rows. When I tried to click sort icon on the column, there is no sorting is happening. Data in all columns remains same but the sorting icon is changing. The expectation is since there is no sorting performed, the icons should not change.

I am looking for some input to handle this. Appreciate your input.

Thanks.

Antony SUTHAKAR J
  • 912
  • 1
  • 7
  • 13
  • Uhh, don't mark the column as `pSortableColumn` if all values in that column are the same? – skink Jun 27 '23 at 11:24
  • We can do that. But that may permanently remove the sorting from the column. For my case, need to show the sorting icons but there should be no change as there is no sorting performing – Antony SUTHAKAR J Jun 27 '23 at 12:11

0 Answers0