The easiest way I have found is to create a form just the way you want the card to look and then add it programmatically to the container (column panels or flow panels work nicely).
Thanks @rickhurlbatt for showing me your solution. Looks like there are a few threads in this forum that are already discussing a similar question. I think I just wasn’t using the right search keywords to find them.
Ideally, I would like the cards to be automatically and dynamically created for however many number of records that are returned from the database. Because of this, a Repeating Panel appears to be the most appropriate for this. From looking over the other discussions, I think all I need to do is change the CSS to display the Repeating Panels as a column grid (side-by-side) instead of stacked (one on top of the other). I’ll explore this option and see if I can achieve what I want. If this doesn’t work, then I will look at programmatically adding each card one by one like you suggested.
Thanks again for your help and pointing me to other discussion threads similar to this topic. It would be nice if a learning tutorial were created for something like this since there appears to be a bit of interest in this interface. It certainly is a common UI for a lot of web apps.
Hi @stucork. Your component library link is the closest to what I want to do so far, thanks for pointing it out! However, I’m having some trouble getting it to work. This is my first time I’ve added a dependency to an app and I seem to be missing the last step to get it to display my data. All I see is a blank form. This is what I’ve done:
add the additional CSS rules that are included at the bottom of the page in your link to my theme.css
add the Horizontal Panel app as a dependency in my own app
drag the newly added custom Repeating Horizontal Panel component (or TwoDRepeatingPanel component in my case) into my Form
add Data Bindings in the component so it knows what data to display.
Step 4 is where I get stuck and all I see when I run the app is a blank form. Normally when I use a Repeating Panel, I can associate an item_template in the properties and then in this template, I can specify the data bindings so the Repeating Panel displays the intended data from the database. But in the case of this added dependency, it does not let me associate an item_template so I can not specify the data bindings that I want. Instead, when I click on the properties of this custom Horizontal Repeating Panel component, it takes me to the added dependency to add data bindings, but when I do this and run the app, the form doesn’t show anything. Can you tell me where I’m going wrong for step 4?
Thanks @stucork! The result of the existing CSS wasn’t what I wanted, but you steered me enough in the right direction for me to style my own CSS and make it work. Once again, thank you for your help!!
@doug.creighton, given this issue is 3 years old it would be best to start a new thread,
When you start a new thread you’ll see a suggested template to fill out.
The more detail the better.
If it’s useful you should add links to this thread (and any others) as context.
As it stands you won’t get much help on this thread since we don’t know the exact issue you’re facing or what you’ve tried.