"how to invert sortField primeng" Code Answer's

You're definitely familiar with the best coding language TypeScript that developers use to develop their projects and they get all their queries like "how to invert sortField primeng" answered properly. Developers are finding an appropriate answer about how to invert sortField primeng related to the TypeScript coding language. By visiting this online portal developers get answers concerning TypeScript codes question like how to invert sortField primeng. Enter your desired code related query in the search bar and get every piece of information about TypeScript code related question on how to invert sortField primeng. 

how to invert sortField primeng

By Stupid SableStupid Sable on Jan 20, 2021
sortField="userName" [sortOrder]="-1"

Add Comment

0

how to default sort item in primegng

By Stupid SableStupid Sable on Jan 20, 2021
<p-table [value]="offers" sortField="totalPrice">...<p-table>
in case of data binding you need to use curly brackets []

<p-table [value]="offers" [sortField]="totalPriceValue">...<p-table>
and for you case isRelventPrice$ this will work

 <p-table 
    [value]="offers" [sortField]="(isRelventPrice$ | async)? 'totalPrice' : 'unitPrice'">
....
</p-table>

Add Comment

0

All those coders who are working on the TypeScript based application and are stuck on how to invert sortField primeng can get a collection of related answers to their query. Programmers need to enter their query on how to invert sortField primeng related to TypeScript code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about how to invert sortField primeng for the programmers working on TypeScript code while coding their module. Coders are also allowed to rectify already present answers of how to invert sortField primeng while working on the TypeScript language code. Developers can add up suggestions if they deem fit any other answer relating to "how to invert sortField primeng". Visit this developer's friendly online web community, CodeProZone, and get your queries like how to invert sortField primeng resolved professionally and stay updated to the latest TypeScript updates. 

TypeScript answers related to "how to invert sortField primeng"

View All TypeScript queries

TypeScript queries related to "how to invert sortField primeng"

Browse Other Code Languages

CodeProZone