Table - sort icon is not displayed

Post Reply
Jhosen
Posts: 2
Joined: 24 Dec 2019, 13:14

01 Sep 2020, 14:31

The ultima CSS does not have the new classes for <p-sorticon> in v9

Version 8.1.1
<i class="ui-sortable-column-icon pi pi-fw" [ngClass]="{'pi-sort-up': sortOrder === 1, 'pi-sort-down': sortOrder === -1, 'pi-sort': sortOrder === 0}"></i>

Version 9.1.3
<i class="ui-sortable-column-icon pi pi-fw" [ngClass]="{'pi-sort-amount-up-alt': sortOrder === 1, 'pi-sort-amount-down': sortOrder === -1, 'pi-sort-alt': sortOrder === 0}"></i>


Angular version: 9.1.9
PrimeNG version: 9.1.3
Theme installed: ultima-ng-9.0.0

Jhosen
Posts: 2
Joined: 24 Dec 2019, 13:14

10 Sep 2020, 11:54

Prime Do you plan to solve this?
I don't want to modify the template CSS for future compatibility.

yigitfindikli
Posts: 410
Joined: 08 Aug 2018, 14:09

11 Sep 2020, 15:25

Jhosen wrote:
10 Sep 2020, 11:54
Prime Do you plan to solve this?
I don't want to modify the template CSS for future compatibility.
Hi,
I couldn't see any problem on the live demo (You can check at https://www.primefaces.org/ultima-ng/#/components/data). Can you share with us your package.json?

Best Regards.

comanlaviniaelena
Posts: 10
Joined: 18 Aug 2020, 10:20

18 Sep 2020, 07:43

I have the same problem. After upgrading to Angular 9, primeNG Ultima 9, sort icons are not showed anymore.
Could you please help?

mert.sincan
Posts: 4638
Joined: 29 Jun 2013, 12:38

09 Oct 2020, 22:26

Hi,

Sorry for the delayed response! Could you please try it with the latest Ultima version?
https://www.primefaces.org/ultima-ng/#/uikit/table

Best Regards,

comanlaviniaelena
Posts: 10
Joined: 18 Aug 2020, 10:20

30 Oct 2020, 12:53

I've updated to Ultima 10, is the same problem.
Maybe is because there is no backward compatibility between 9 and 10?

mert.sincan
Posts: 4638
Joined: 29 Jun 2013, 12:38

10 Dec 2020, 21:50

Interesting! do you have primeicons library in your package.json? Also, could you please attach a screenshot related to css style from the inspector of the browser?

Also, there are too many breaking changes in PrimeNG 10. Please check them;
https://github.com/primefaces/primeng/w ... Guide#1000

Best Regards,

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests