Way to deal with 2 column table
r
We have a product table, always going to be 2 columns, but has different number of rows. Needs to contain simple Rich Text, like bold and italic. The options I can think of at the moment are: - Use the RTE. This is fast for the client to edit but not without its problems, the width etc gets added as inline styles within the table columns but we don’t want this. We’ll set this in CSS. Also from experience the client always finds a way to mess up with a RTE. - Block Grid with Left & Right columns. This produces super clean mark up but it’s painful to edit / add content, super slow. Any better options out there please?
j
I don’t know if Tabulate would fully do what you want but it’s worth checking out? https://www.nuget.org/packages/Tabulate.Umbraco
m
I use https://marketplace.umbraco.com/package/limbo.umbraco.tables to do tables. It has a simple interface with one click row/column add/delete. Markup is very customizable in the template too.
j
Also a great choice!
r
Thank you both, will check them out 🙂
Went with Limbo Tables as sorted what I needed. Would have ideally been able to specify number of columns in the datatype, but all good
m
You might be able to extend it to limit that but that is beyond me.
r
If only I had the time! Very grateful to have the package as is, very nicely thought out and ideal for what we need.
d
I would use Block List in a Block Grid. I have done this in UmBootstrap for the FAQ. As you say "Block Grid with Left & Right columns" and nest a block list in each to allow the user to create rows - bonus you can make it responsive https://umbootstrap.com/features/feature-faqs/
r
Thanks Dean, that was my first solution but it's just too painful for editing in this case, it's product information and some products have 20 + rows
d
Agreed that is a lot. Do they have the data already in a format you can populate a table ?
r
They have some data, but not all of it. Tempted to use the RTE but we all know where that ends!
d
I used the TinyMce table plugin many years ago. It was not too bad for some use cases. But agreed it's not for your case.
3 Views