Extends fix for LH#11
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
<eg-grid #grid idlClass="{{idlClass}}" [dataSource]="dataSource" hideFields="{{hideGridFields}}"
[sortable]="true" persistKey="{{persistKey}}" autoGeneratedColumnOrder="{{fieldOrder}}"
[filterable]="true" [stickyHeader]="true"
+ (onRowActivate)="editSelected([$event])"
[cellTextGenerator]="cellTextGenerator">
<eg-grid-toolbar-button [disabled]="!canCreate"
label="New {{idlClassDef.label}}" i18n-label (onClick)="createNew()">
this.classLabel = this.idlClassDef.label;
this.includeOrgDescendants = true;
- // TODO - this works, but doesn't clear the base component's subscription
- // this.grid.onRowActivate.subscribe(
- // (idlThing: IdlObject) => this.editSelected([idlThing])
- // );
}
countProviders(row: IdlObject): Observable<IdlObject> {