react-table-edit 1.5.42 → 1.5.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,6 +19,7 @@ type IContentColProps = {
19
19
  setSelectedRows: (value: any[]) => void;
20
20
  handleCloseContext: () => void;
21
21
  handleDoubleClick?: (row: any, col: IColumnTable) => void;
22
+ handleCellClick?: (row: any, col: IColumnTable) => void;
22
23
  };
23
24
  export declare const RenderContentCol: React.MemoExoticComponent<(props: IContentColProps) => import("react/jsx-runtime").JSX.Element>;
24
25
  export {};
@@ -39,6 +39,7 @@ type TableViewProps = {
39
39
  saveSettingColumn?: (data: IFSettingColumns[]) => void;
40
40
  setSelectedItem?: Dispatch<SetStateAction<any>>;
41
41
  handleDoubleClick?: (row: any, col: IColumnTable) => void;
42
+ handleCellClick?: (row: any, col: IColumnTable) => void;
42
43
  contextMenuItems?: IContextItem[];
43
44
  handleContextMenuClick?: (context: IContextItem, data: any) => void;
44
45
  isMulti?: boolean;
@@ -31,6 +31,7 @@ type ITableElementProps = {
31
31
  setSelectedRows: Dispatch<SetStateAction<any[]>>;
32
32
  setOrderBy: React.Dispatch<React.SetStateAction<IFOrderTable[]>>;
33
33
  handleDoubleClick?: (row: any, col: IColumnTable) => void;
34
+ handleCellClick?: (row: any, col: IColumnTable) => void;
34
35
  querySetting?: {
35
36
  client?: boolean;
36
37
  allowFiltering?: boolean;
package/dist/index.d.ts CHANGED
@@ -757,6 +757,7 @@ type TableViewProps = {
757
757
  saveSettingColumn?: (data: IFSettingColumns[]) => void;
758
758
  setSelectedItem?: Dispatch<SetStateAction<any>>;
759
759
  handleDoubleClick?: (row: any, col: IColumnTable) => void;
760
+ handleCellClick?: (row: any, col: IColumnTable) => void;
760
761
  contextMenuItems?: IContextItem[];
761
762
  handleContextMenuClick?: (context: IContextItem, data: any) => void;
762
763
  isMulti?: boolean;