It appears on the page a comma delimited list is specified but I can only see a period separated for the example. Either way I cannot seem to sort on a nested property. My code is
<tr *ngFor="let loc of locationsPage | orderBy: order: reverse; let i = index">
<td>{{i + 1}}</td>
<td>{{loc.customer.customerName}}</td>
I have many nested properties in my table. I need to sort on a few of them. Is this possible using ng2-order-pipe? If so what is incorrect about my code above? Thank you for reading.
It appears on the page a comma delimited list is specified but I can only see a period separated for the example. Either way I cannot seem to sort on a nested property. My code is
oderBy() sets the order key in the *ngFor
I have many nested properties in my table. I need to sort on a few of them. Is this possible using ng2-order-pipe? If so what is incorrect about my code above? Thank you for reading.