/*! * * Wijmo Library 5.20242.30 * https://developer.mescius.com/wijmo * * Copyright(c) MESCIUS inc. All rights reserved. * * Licensed under the End-User License Agreement For MESCIUS Wijmo Software. * us.sales@mescius.com * https://developer.mescius.com/wijmo/licensing * */ /** * {@module wijmo.react.grid.detail} * Contains React components for the wijmo.grid.detail module. */ /** * */ export declare var ___keepComment: any; import { BaseInputs, WjRef } from 'wijmo/wijmo.react.base'; import * as React from 'react'; import * as wjcGridDetail from 'wijmo/wijmo.grid.detail'; export declare type FlexGridDetailInputs = BaseInputs & { detailVisibilityMode?: wjcGridDetail.DetailVisibilityMode | string; isAnimated?: boolean; keyActionEnter?: wjcGridDetail.KeyAction | string; maxHeight?: number | null; rowHasDetail?: wjcGridDetail.IRowHasDetail; template?: any; }; export declare type FlexGridDetailEvents = {}; export declare const FlexGridDetailMeta: { inputs: string[]; events: any[]; }; export declare type FlexGridDetailProps = FlexGridDetailInputs & FlexGridDetailEvents; export declare type FlexGridDetailRef = WjRef; /** * React component for the {@link wijmo.grid.detail.FlexGridDetailProvider} class. * * The flex-grid-detail component should be contained in * a {@link wijmo.react.grid.FlexGrid} component. * * The component supports all properties and events of the pure JavaScript {@link wijmo.grid.detail.FlexGridDetailProvider} class it represents. * * The component includes an initialized event that is raised when the control is initialized after it is added to the page. * You can use this event to perform further initialization in addition to setting properties in JSX. * The signature of the handler function is the same as any other Wijmo event handlers. * * The component includes a template property which is used to define template for detail row. * The template is a function with single argument. The argument is a plain object with keys of * row (the row to which detail row belongs), * item (item data related to the row) and * provider (FlexGrid control, owner of the row). */ export declare const FlexGridDetail: React.ForwardRefExoticComponent; export declare class DirectiveFlexGridDetail extends wjcGridDetail.FlexGridDetailProvider { _templateFn: any; renderedCellsCache: any[]; template: any; constructor(grid: any, options: any); initialize(props: any): void; updateTemplate(): void; _createDetailCellFn: (row: any) => HTMLDivElement; _disposeDetailCellFn: (row: any) => void; }