/*! * * Wijmo Library 5.20251.40 * 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.sheet} * Contains React components for the wijmo.grid.sheet module. */ /** * */ export declare var ___keepComment: any; import { BaseInputs, WjRef, WjForwardRefExoticComponent } from 'wijmo/wijmo.react.base'; import * as wjcCore from 'wijmo/wijmo'; import * as wjcGridSheet from 'wijmo/wijmo.grid.sheet'; import * as wjGrid from 'wijmo/wijmo.react.grid'; export declare type FlexSheetInputs = wjGrid.FlexGridInputs & { allowAutoFill?: boolean; calculationPrecision?: number; enableDragDrop?: boolean; enableFormulas?: boolean; isTabHolderVisible?: boolean; selectedSheetIndex?: number; showFilterIcons?: boolean; }; export declare type FlexSheetEvents = wjGrid.FlexGridEvents & { autoFilled?: wjcCore.IEventHandler; autoFilling?: wjcCore.IEventHandler; beginDroppingRowColumn?: wjcCore.IEventHandler; columnChanged?: wjcCore.IEventHandler; draggingRowColumn?: wjcCore.IEventHandler; droppingRowColumn?: wjcCore.IEventHandler; endDroppingRowColumn?: wjcCore.IEventHandler; loaded?: wjcCore.IEventHandler; prepareChangingColumn?: wjcCore.IEventHandler; prepareChangingRow?: wjcCore.IEventHandler; rowChanged?: wjcCore.IEventHandler; selectedSheetChanged?: wjcCore.IEventHandler; sheetCleared?: wjcCore.IEventHandler; unknownFunction?: wjcCore.IEventHandler; }; export declare const FlexSheetMeta: { inputs: string[]; events: string[]; }; export declare type FlexSheetProps = FlexSheetInputs & FlexSheetEvents; export declare type FlexSheetRef = WjRef; /** * React component for the {@link wijmo.grid.sheet.FlexSheet} control. * * The flex-sheet component may contain * a {@link wijmo.react.grid.sheet.Sheet} child component. * * The component supports all properties and events of the pure JavaScript {@link wijmo.grid.sheet.FlexSheet} control 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. */ export declare const FlexSheet: WjForwardRefExoticComponent; export declare type SheetInputs = BaseInputs & { columnCount?: number; filterSetting?: wjcGridSheet.IFilterSetting; itemsSource?: any; name?: string; rowCount?: number; visible?: boolean; }; export declare type SheetEvents = { nameChanged?: wjcCore.IEventHandler; visibleChanged?: wjcCore.IEventHandler; }; export declare const SheetMeta: { inputs: string[]; events: string[]; }; export declare type SheetProps = SheetInputs & SheetEvents; export declare type SheetRef = WjRef; /** * React component for the {@link wijmo.grid.sheet.Sheet} class. * * The sheet component should be contained in * a {@link wijmo.react.grid.sheet.FlexSheet} component. * * The component supports all properties and events of the pure JavaScript {@link wijmo.grid.sheet.Sheet} 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. */ export declare const Sheet: WjForwardRefExoticComponent;