constructor()

in components/js/slickGrid.ts [173:186]


    constructor(@Inject(forwardRef(() => ElementRef)) private _el) {
        this._gridData = {
            getLength: (): number => {
                return this.dataRows && this._gridColumns ? this.dataRows.getLength() : 0;
            },
            getItem: (index): any => {
                return !this.dataRows ? undefined : this.dataRows.at(index);
            },
            getRange: (start, end): any => {
                return !this.dataRows ? undefined : this.dataRows.getRange(start, end);
            },
            getItemMetadata: undefined
        };
    }