Skip to content
Permalink
Browse files

fix(cell): fetch values nested

  • Loading branch information...
bas080
bas080 committed Jan 12, 2017
1 parent 992832c commit e3199c6502f5f8b586fa7c928e7927026a0603c8
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/datatable.js
@@ -371,7 +371,11 @@ export class DataTable {
}

displayValue(row, propertyName) {
return new Homefront(row, Homefront.MODE_FLAT).fetch(propertyName, '');
let flattened = new Homefront(row, Homefront.MODE_NESTED);

flattened.flatten();

return flattened.fetch(propertyName, '');
}

collapseRow(row) {

0 comments on commit e3199c6

Please sign in to comment.
You can’t perform that action at this time.