@syncfusion/ej2-grids
Version:
Feature-rich JavaScript datagrid (datatable) control with built-in support for editing, filtering, grouping, paging, sorting, and exporting to Excel.
22 lines (21 loc) • 770 B
TypeScript
import { ICellRenderer } from '../base/interface';
import { CellRenderer } from './cell-renderer';
import { Column } from '../models/column';
import { Cell } from '../models/cell';
/**
* ExpandCellRenderer class which responsible for building group expand cell.
*
* @hidden
*/
export declare class DetailExpandCellRenderer extends CellRenderer implements ICellRenderer<Column> {
element: HTMLElement;
/**
* Function to render the detail expand cell
*
* @param {Cell<Column>} cell - specifies the cell
* @param {Object} data - specifies the data
* @param {Object} attributes - specifies the attributes
* @returns {Element} returns the element
*/
render(cell: Cell<Column>, data: Object, attributes?: Object): Element;
}