adding components to the canvas method #2782
Replies: 3 comments 2 replies
-
Hi, @2524268884 While I'll let someone from the engineering team reply to this, I wanted to invite you for a user interview to understand your use case better. It will help us unblock you by getting a better idea of the missing features. If you are available, we can have a 30-minute discussion this week. Thanks |
Beta Was this translation helpful? Give feedback.
-
While Toolpad doesn't have a way to programmatically add components to the canvas, you can programmatically control the display state of a component already added to the canvas through bindings. For instance, you could do something like this by binding to the Discussion.mov |
Beta Was this translation helpful? Give feedback.
-
Hi @2524268884 We have a related feature request. Would this suffice your use case? |
Beta Was this translation helpful? Give feedback.
-
I have developed a form container component myself and bound it to the API of Google Sheet. Through this API, I can obtain the type and name of each field in Google Sheet. Next, I hope that within the form container, I can automatically add corresponding form components (I have developed a set of form components myself) based on the field types returned to me by the API. If I want to achieve this effect, does it mean that ToolPad has relevant JS methods that can be called? For example, adding components to the canvas?
Beta Was this translation helpful? Give feedback.
All reactions