How do I use the Group in the DataListItem object (Contentment)

I am likely asking a daft question, or have completely misunderstood something, but that’s not stopped me before, so here goes…

I’m using Contentment, an awesome package, that I can’t live without. If I add a value to the Groupproperty in a DataListItem, I kind of expected the editor to group items with the same group name together, but it doesn’t appear to have that effect.

  • Does it only work for selected editors? if so which ones?
  • Does it have some other function? If so what am I missing?

I had a quick mooch around the docs and the source code and couldn’t find much, hoping someone can help!

The quick answer is no.

The Group property is used internally within the package, (it groups the data-sources in the data-type configuration).

I had prototypes of it being used with the various Data List list-editors… but it proved quite complex to develop it in a generalised way, (probably limitations with AngularJS at the time).

It could be more realistic with the new backoffice, but it’s not very high on my to-do list.

1 Like

Thanks Lee, good to know it wasn’t me going mad then. That all makes sense. Thanks for the reply