diff --git a/src/views/listview/list-view-directive.js b/src/views/listview/list-view-directive.js index e231d243f..67d8415cf 100644 --- a/src/views/listview/list-view-directive.js +++ b/src/views/listview/list-view-directive.js @@ -7,7 +7,7 @@ * Pass a customScope object containing any scope variables/functions you need to access from the transcluded source, access these * via 'customScope' in your transcluded hmtl. *

- * If using expanding rows, use a list-expanded-content element containing expandable content for each row. For each item in the items array, the expansion can be disabled by setting disableRowExpansion to true on the item. + * If using expanding rows, use a list-expanded-content element containing expandable content for each row. Item data can be accessed inside list-expanded-content by using $parent.item.property. For each item in the items array, the expansion can be disabled by setting disableRowExpansion to true on the item. * * @param {array} items Array of items to display in the list view. If an item in the array has a 'rowClass' field, the value of this field will be used as a class specified on the row (list-group-item). * @param {object} config Configuration settings for the list view: @@ -79,17 +79,16 @@ - {{item.city}}
-
Host Name
-
Hostceph1
-
Device Path
-
/dev/disk/pci-0000.05:00-sas-0.2-part1
+
Host
+
{{$parent.item.city}}
+
Admin
+
{{$parent.item.name}}
Time
January 15, 2016 10:45:11 AM
Severity