Relative Content

Tag Archive for angulartypescriptprimeng

Edit row in primeng table by double mouse click

I have primeng table, and it allows to edit rows by clicking on pInitEditableRow button. I want to initiate row editting by double mouse click on that row, any cell of that row. Primeng table doesn’t have that functionality out of the box, like with buttons. How to do that? I want to immitate pInitEditableRow button click when I double mouse click on corresponding row.

Edit row in primeng table by double mouse click

I have primeng table, and it allows to edit rows by clicking on pInitEditableRow button. I want to initiate row editting by double mouse click on that row, any cell of that row. Primeng table doesn’t have that functionality out of the box, like with buttons. How to do that? I want to immitate pInitEditableRow button click when I double mouse click on corresponding row.

Edit row in primeng table by double mouse click

I have primeng table, and it allows to edit rows by clicking on pInitEditableRow button. I want to initiate row editting by double mouse click on that row, any cell of that row. Primeng table doesn’t have that functionality out of the box, like with buttons. How to do that? I want to immitate pInitEditableRow button click when I double mouse click on corresponding row.

Can not evoke method of Primeng method after select html element by custom attribute through @ViewChildern

I’m using Angular framework Primeng p-carousel to show some vacabulary cards. On the vocabulary card, I am using p-inplace to hide some information, before the user try to solve the question, those information remain hidden.I assigned each p-inplace a custom unique attribute wordId inorder to access each specific p-inplace when user clicked the p-inplace’s show button, because by default the Primeng Inplace always show hidden info after the click event, but I want to check if the user have tried to solve the question already, if one hadn’t, clicking won’t trigger Inplace to show the info.The HTML code is showing below:

How to get two properties in Onchange event of p-dropdown

Below I have p-dropdown of apple. I want to get apple id and apple desc using onchange, i am only able to see apple id as value in Onchange apple event. can i get both apple id and apple desc in Onchange apple event in Javascript?

Angular p-dropdown disabled property not working with reactive formcontrol

<p-dropdown formControlName=”signatures” [disabled]=”true” placeholder=”Please Select Signature” [options]=”signatureOptions” (onChange)=”selectSignature($event,rowIndex)”></p-dropdown> I was using the Angular 11 version, and the ‘disabled’ property was working fine with p-dropdown when using formControl. However, after upgrading to Angular 17, the disabled property stopped working due to formControl. When I remove formControlName, the disabled property starts working fine. angular typescript primeng New […]