Skip to content

Commit

Permalink
* dtable: support for reseting state in plugin custom-col.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Jul 18, 2024
1 parent f39729e commit 072b9e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/dtable/src/plugins/custom-col/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const customColPlugin: DTablePlugin<DTableCustomColTypes, [DTableContextMenuType
name: 'custom-col',
when: options => !!options.customCol,
plugins: [contextmenu],
resetState: true,
options(options) {
if (options.customCol && !options.contextmenu) {
options.contextmenu = {
Expand Down

0 comments on commit 072b9e9

Please sign in to comment.