Does anyone have any suggestions on how to create functionality similar to the List Component but with more flexibility for the number of columns? I have a data that uses 7 columns but the List Component only allows for a maximum of 6.
Do you have an example of a design you wish to use? The hard part here is that 7 columns aren’t divislbe in bootstrap themes. Bootstrap uses 12 column grid layout and if it isn’t divislbe by 12 it would need to be set with static pixels which won’t work
Thank you for replying on a weekend…I do not have the Custom Component option available. I’ve attached a screenshot of what I am encountering with the 7 columns. I could probably make it work with 8 columns if need be.
Many thanks to @tim.young and @Lee for helping me with super CSS magic to get the odd number of columns to work. The custom component worked perfectly, so I would highly recommend that for anyone that has access to that functionality.
However, I chose to a different path since the custom component is not available for PDFs at this time. Thus the following code worked for 7 columns in the 10 column (bootstrap) space (see picture above). This was for the HTML page (not the PDF)
The following CSS worked to get the PDF list component to show 7 columns in a 10 column space (I know this can be confusing but once you dig into the columns it will make sense).
Instead of using fields in the list component, we used an HTML field and added the variables in the rich text field of the HTML editor and then added the list-val CSS class.