How do I achieve different display content for different users? #2509
-
@davep |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 16 replies
-
Hi, first off, it's not necessary to tag an individual person here: anyone can answer questions and tagging one individual may discourage others from giving their help (I've written up my own thoughts on asking for help with stuff, for anyone who might be interested). As to your question: it's rather broad so I'm not entirely sure what it is you're asking for here. When it comes to the widgets you need, that will very much depend on what it is you want to show about the user; it's your application so only you really know what would work here. You can see all the widgets we have right now in the gallery. Perhaps, though, you're not really asking about widgets but how you'd know when to update the detail based on the |
Beta Was this translation helpful? Give feedback.
-
Yes, RadioSet suits my needs, on_ radio_ set_ When changed, I call TabbedContent to store my widgets.
Could anyone help me explain why
can not work? |
Beta Was this translation helpful? Give feedback.
-
How do I click on some cells in the DataTable to bring up other widgets, for example, my code below
I found self.mount can only work in subclass of App. But my RegrCmd is subclass of Widget. |
Beta Was this translation helpful? Give feedback.
Widgets do have a mount method which will "Mount widgets below this widget (making this widget a container)."
Here's a quick example: