ag-grid-row-unselectable-angular
Version:
A fork version of ag-grid-angular with row selection disable function added
32 lines (26 loc) • 1.81 kB
text/typescript
import {ViewContainerRef, Injectable} from "@angular/core";
import {ICellRendererComp, ICellEditorComp, MethodNotImplementedException, IFilterComp} from "ag-grid-row-unselectable/main";
import {ICellRendererAngularComp, ICellEditorAngularComp, IFilterAngularComp} from "./interfaces";
@Injectable()
export class BaseComponentFactory {
public createCellRendererFromComponent(componentType: { new(...args: any[]): ICellRendererAngularComp; },
viewContainerRef: ViewContainerRef): {new(): ICellRendererComp} {
console.log("Use AgGridModule.withComponents() if you wish to use dynamic components");
throw new MethodNotImplementedException();
}
public createRendererFromComponent(componentType: { new(...args: any[]): ICellRendererAngularComp; },
viewContainerRef: ViewContainerRef): {new(): ICellRendererComp} {
console.log("Use AgGridModule.withComponents() if you wish to use dynamic components");
throw new MethodNotImplementedException();
}
public createEditorFromComponent(componentType: { new(...args: any[]): ICellEditorAngularComp; },
viewContainerRef: ViewContainerRef): {new(): ICellEditorComp} {
console.log("Use AgGridModule.withComponents() if you wish to use dynamic components");
throw new MethodNotImplementedException();
}
public createFilterFromComponent(componentType: { new(...args: any[]): IFilterAngularComp; },
viewContainerRef: ViewContainerRef): {new(): IFilterComp} {
console.log("Use AgGridModule.withComponents() if you wish to use dynamic components");
throw new MethodNotImplementedException();
}
}