Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot sort more then one level deep in data #41

Closed
mccs0064 opened this issue Oct 24, 2016 · 1 comment
Closed

Cannot sort more then one level deep in data #41

mccs0064 opened this issue Oct 24, 2016 · 1 comment
Labels

Comments

@mccs0064
Copy link

mccs0064 commented Oct 24, 2016

there is no way to sort data when it is more then one level deep. For Example:

`<table class="table table-striped table-bordered table-hover" [mfData]="customerList" #mf="mfDataTable" [mfRowsOnPage]="10" cellspacing="0" width="100%">


First Name
Last Name
Phone Number
Postal Code
Number Of Vehicles
Subscription Type
Subscription Date



<tr *ngFor="let user of mf.data">
<a [routerLink]="['/customers', user.id]">{{user.firstName}}
{{user.lastName}}
{{user.mobilePhoneNumber}}
{{user.addresses.HOME.postalCode}}
{{user.vehicles.length}}
{{user.subscription.name}}
{{user.subscriptionDate}}

`

i cannot sort by user.subscription.name or user.addresses.HOME.postalCode

@mariuszfoltak
Copy link
Owner

Fixed in v0.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants