fieldenms / tg

Trident Genesis
MIT License
14 stars 7 forks source link

Entity Centre: rendering customiser to support row styles #2282

Open 01es opened 3 months ago

01es commented 3 months ago

Description

Rendering customisers define CSS styles for individual properties (columns). There are situations where styles need to be specified for an entire row. At the moment, this requires associating those styles with each property in an Entity Centre result set. This is inconvenient.

It is proposed to introduce support for defining CSS styles for an entire row by associating them with pseudo-property row-style. At the client side, such pseudo-property needs to be recognised and the associated styles applied to each visible property.

Property-based styles should have higher precedence in cases of a collision with the style attributes defined for row-style.

Expected outcome

An easy and reliable way to style an entire row.