khan4019/tree-grid-directive

expand-on = "expanding_property" is unclear

Closed this issue · 1 comments

The ExpandOn attribute is confusing to me. The demo seems to use it one way, but if I look at the code, if the attribute is present, a value is read out of the scope. Is this intentional?

 if (attrs.expandOn) {
        expandingProperty = scope.expandOn;
        scope.expandingProperty = scope.expandOn;
  } 

Apparently most of my issue was that cellTemplate seems to be ignored fro the expanding property.