import Store from '@mjcloud/redux'; import GridViewCell from './gridview-cell'; import TableInstanceBase from '../common/table'; import { ITableBaseRow } from '../common/table/typings'; import { IDictionary, PageControlMode, DataModeEnum } from '@mjcloud/types'; import { IGridViewConfig, IGridViewState, GridViewEventType, GridViewActionType } from './typings'; declare class GridView extends TableInstanceBase { getDataMode(): DataModeEnum; get pageControlMode(): PageControlMode; __createStore(): Store; __getCellRecord(rowId: number): ITableBaseRow | undefined; initialState(initConfig: IGridViewConfig): void; protected buildExportFileExtraParams(): { aggs: import("@mjcloud/data-source-helper").ISigninAgg[] | undefined; filter: import("@mjcloud/utils").Filter | undefined; orderBy: import("@mjcloud/data-source-helper").IOrderby[] | undefined; } | undefined; getRowForRowId(rid: number): IDictionary | undefined; findCellControl(rowIndex: number, cellId: string): import("@mjcloud/instance").InstanceBase>, string, string> | null; findCellButton(rowIndex: number, cellId: string): import("@mjcloud/instance").InstanceBase>, string, string>; /** * 手动设置列表的选中项 * @param selectedRows 要选中的行数据 */ setSelectedRows(selectedRows: ITableBaseRow[], actionSourceSign?: any): void; setSelectedRows2Id(ids: string[], idFieldName?: string, actionSourceSign?: any): void; getAllData(): IDictionary[]; /** * 获取当前选中的行数据 */ getSelectedRows(): IDictionary[]; /** * 获取当前选中的行Id */ getSelectedIds(idFieldName?: string): string[]; /** * 进入拖拽排序模式 */ enterSortMode(): void; /** * 导出到Excel */ exportExcel(): void; } export default GridView;