ag-grid-enterprise
Version:
ag-Grid Enterprise Features
16 lines (11 loc) • 481 B
text/typescript
import {Bean, ICompFactory, Component, Autowired, Context} from "ag-grid-community";
import {PivotDropZonePanel} from "./sideBar/providedPanels/columns/panels/pivotDropZonePanel";
('pivotCompFactory')
export class PivotCompFactory implements ICompFactory {
('context') private context: Context;
public create(): Component {
let pivotComp = new PivotDropZonePanel(true);
this.context.wireBean(pivotComp);
return pivotComp;
}
}