UNPKG

@easyquery/ui

Version:

EasyQuery.JS Community UI widgets

36 lines (35 loc) 861 B
import { GridOptions } from './widget_options'; import { Widget, EqContext } from '@easyquery/core'; /** * Base class for GRID. */ export declare class Grid extends Widget { /** The html element. */ protected slot: HTMLElement; protected options: GridOptions; /** * The default constructor. * @param slot The html element. */ constructor(slot: HTMLElement); getWidgetType(): string; /** * Initialize widget. * @param context The context. * @param options The options. */ init(context: EqContext, options?: GridOptions): void; /** * Refresh widget implementation */ protected refreshCore(): void; /** * Renders widget */ protected render(): void; protected applyDisplayFormats(): void; /** * Clears GRID. */ protected clear(): void; }