Topic: Tablesort Nested Property
Is it possible to sort a table on a nested property? My table data follows this basic format:
{
due_date: '2018-10-19'
employee: {
first_name: 'John'
last_name: 'Doe
}
...
}
I would like to sort the table on employee.first_name. I am sorting by the header name, and I named the table header for the employee's first name "employee.first_name" and it doesn't seem to be able to sort the table data.
Thanks!
Damian Gemza staff answered 6 years ago
Dear MHarmony,
This feature will be available with the next release of MDB Angular!
Best Regards,
Damian
Damian Gemza staff answered 6 years ago
Dear MHarmony,
Unfortunately, this feature is not available in our Table Sort directive.
We'll think about implementing it in the future, but for now, there's no possibility to achieve such behavior.
Best Regards,
Damian
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 7.0.0
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No