Formatting tables in app studio

meerens
Member
in App Studio
One of my fav features is the ability to create different styles for tables. What I'm really struggling with is having the table fit the width of the card and have the text wrap when you resize. I made it work but can't figure out how I did it. Anyone have any experience with using tables in the App Studio? Please send help!
0
Answers
-
Hi,
I understand how important it is to have your table fit the width of the card and ensure text wrapping works seamlessly, especially when resizing. Domo's App Studio provides several tools and features that can help you achieve this responsive design. Ensuring Table Fits Card Width
To make your table automatically adjust to the card's width:
- Use Relative Layouts: Ensure your card's layout is set to be responsive. This allows the table to adjust its width dynamically as the card resizes.
- Set Table Width to 100%: In the table's styling options, set the width to
100%
. This ensures the table expands to fill the available space within the card. Enabling Text Wrapping
To make sure text wraps appropriately within table cells:
- Enable Text Wrapping: In the table's style settings, look for the option to enable text wrapping. This will ensure that longer text within cells wraps to the next line instead of overflowing.
- Adjust Column Widths: If certain columns contain longer text, consider adjusting their widths to accommodate the content without excessive wrapping.
Additional Tips
- Use Spacer Components: In App Studio, you can use spacer components to adjust the spacing around your table, ensuring it aligns well within the card.
- Preview Responsiveness: Regularly preview your app in different screen sizes to ensure the table behaves as expected across devices.
Thanks!
0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 308 Workbench
- 6 Cloud Amplifier
- 10 Federated
- 3.8K Transform
- 660 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 815 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 84 App Studio
- 46 Variables
- 780 Automate
- 191 Apps
- 482 APIs & Domo Developer
- 84 Workflows
- 23 Code Engine
- 41 AI and Machine Learning
- 20 AI Chat
- 1 AI Playground
- 2 AI Projects and Models
- 18 Jupyter Workspaces
- 413 Distribute
- 121 Domo Everywhere
- 281 Scheduled Reports
- 11 Software Integrations
- 146 Manage
- 142 Governance & Security
- 8 Domo Community Gallery
- 49 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 4.8K Archive