UNPKG

handsontable

Version:

Handsontable is a JavaScript Data Grid available for React, Angular and Vue.

19 lines (18 loc) 850 B
import { autocompleteRenderer } from "../autocompleteRenderer/index.mjs"; export const RENDERER_TYPE = 'handsontable'; /** * Handsontable renderer. * * @private * @param {Core} hotInstance The Handsontable instance. * @param {HTMLTableCellElement} TD The rendered cell element. * @param {number} row The visual row index. * @param {number} col The visual column index. * @param {number|string} prop The column property (passed when datasource is an array of objects). * @param {*} value The rendered value. * @param {object} cellProperties The cell meta object (see {@link Core#getCellMeta}). */ export function handsontableRenderer(hotInstance, TD, row, col, prop, value, cellProperties) { autocompleteRenderer.apply(this, [hotInstance, TD, row, col, prop, value, cellProperties]); } handsontableRenderer.RENDERER_TYPE = RENDERER_TYPE;