Base solution for your next web application
BLACK FRIDAY
From Nov 21
To Dec 1
XXDAYS : XXHRS : XXMIN : XXSEC
SAVE UP TO$3K
Also valid for the
existing customers!
Open Closed

Primeng Above Version 11.2.3 #11325


0
feryat.olcay created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? V11.3.0
  • What is your product type (Angular or MVC)? angular
  • What is product framework type (.net framework or .net core)? .Net Core 6.0

If issue related with ABP Framework

  • What is ABP Framework version? 7.3.0

If issue is about UI

  • Which theme are you using? default
  • What are the theme settings? Default

Hello I hope you are well. I have problem with primeng versions above V11.2.3 My current project's version was 9.3.0 and I did upgrade it to V11.3.0.

On my way to upgrading the project I had problem with primeng new versions. The popup pages are not working and can not get data. For example If I have a method like below, The page goes to return line. It can not go to furder.

getOrganizationUnitUsers(event?: LazyLoadEvent) { if (!this._organizationUnit) { return; }

    if (this.primengTableHelper.shouldResetPaging(event)) {
  this.paginator.changePage(0);
  return;

}

// It can not come here this.primengTableHelper.showLoadingIndicator();

I install all version of primeng until 13.0.4 but it is same.

Angular CLI: 13.3.9 Node: 18.12.0 (I installed latest version just yesterday) Package Manager: npm 8.19.2 OS: win32 x64

Thanks


3 Answer(s)
  • 0
    feryat.olcay created

    Hi,

    Any idea?

  • 0
    ismcagdas created
    Support Team

    Hi,

    We also faced a similar problem when PrimeNg is updated. We solved this problem by updating PrimeNg to 13.0.4 and changing the code blocks as shown below;

    if (this.primengTableHelper.shouldResetPaging(event)) {
    	this.paginator.changePage(0);
    
    	if (this.primengTableHelper.records && this.primengTableHelper.records.length > 0) {
    		return;
    	}
    }
    

    Could you try this ?

  • 0
    feryat.olcay created

    Hi,

    Thank you for your support. new version and the code block helped me.

    Regards