Replies: 1 comment
-
|
If you create a button custom cell, can you show and hide the dialog box through the button? render(
cell: Compatible<OperateBtnCell>,
isInEditMode: boolean,
onCellChanged: (cell: Compatible<OperateBtnCell>, commit: boolean) => void,
): React.ReactNode {
return (
<Button type="primary" text onClick={cell.onClick}>
{cell.btnText}
</Button>
);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I need to create features that when I click on a button, will show a dialog with many inputs, at the footer of the dialog we have 2 buttons to cancel and submit. I can create a custom cell but can't control the state of that cell to toggle the show/hide dialog. Could you please suggest me some solution for this
Beta Was this translation helpful? Give feedback.
All reactions