Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Primeng Above Version 11.2.3 #11325


User avatar
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)
  • User Avatar
    0
    feryat.olcay created

    Hi,

    Any idea?

  • User Avatar
    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 ?

  • User Avatar
    0
    feryat.olcay created

    Hi,

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

    Regards