Hey everyone, hoping for some help with a package. I'm working on a backend list using umb-table. I ...
j
Hey everyone, hoping for some help with a package. I'm working on a backend list using umb-table. I need to add the -light class to some rows depending on a boolean value on the entity. It looks like I might have to replace umb-table with a custom implementation to do that - am I missing something?
a
The documentation doesn't mention such an option: https://apidocs.umbraco.com/v12/ui/#/api/umbraco.directives.directive:umbTable I also don't see anything in the source code for the view: https://github.com/umbraco/Umbraco-CMS/blob/contrib/src/Umbraco.Web.UI.Client/src/views/components/umb-table.html#L2 So yes, it seems that you have to implement your own table implementing if you need alternating background colors.
n
Hi @jipattisonsmith , not an option i'm affriaght. In general try to find similar solution in the system already. If its not there its most likely not an option. This will though become different from v14, where we aim to support the needs of packages/extensions etc. Ensuring that the platform delivers a solid base for your extensions to build upon. Could you elaborate a bit more on the use case. What does the toggle mean for the user and why do you aim to represent this with a background color? Asking in terms of getting a better perspective on customizations and needs 🙂 Thanks in advance
8 Views