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.
The p-button won’t change even though the severity has been changed
I have a p-carousel, inside are a batch of vocabulary cards and each one has a single choice question, the user has to choose the right translation answer for that word, then the carousel autoly switch to next card.
How can i get current page index from PrimeNG table
I use the PrimeNg library and the Table
component with paginator enabled. The Django backend application uses PageNumberPagination
. How can I get the current page number from this component?
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 […]
In PrimeNG, how can I add a custom button to the header of a Dynamic Dialog?
I am using Angular v17 and PrimeNG for a project and I want to add buttons to the header of a dynamic dialog, but I can’t seem to find an answer. This is the code in my dialog component.
FormData not appending files in angular
I am trying to upload file using FormData so that I can send through a HTTP Request. This is my HTML code