diff --git a/lib/dtable/src/plugins/custom-col/index.tsx b/lib/dtable/src/plugins/custom-col/index.tsx index 5638006cfb..55c082885b 100644 --- a/lib/dtable/src/plugins/custom-col/index.tsx +++ b/lib/dtable/src/plugins/custom-col/index.tsx @@ -14,6 +14,9 @@ export interface DTableCustomColTypes { onSetColBorder?: (this: DTableCustomCol, colName: ColName, border: ColBorderType, colBorders: Record) => void; onSetColVisibility?: (this: DTableCustomCol, colName: ColName, visible: boolean) => void; }, + col: { + required?: boolean; + }, state: { colBorders: Record; colVisibility: Record; @@ -87,7 +90,7 @@ const customColPlugin: DTablePlugin this.setColVisibility(info.colName, false), }, ];