How to display the style when the field is dot-walked?

balakumar1
Kilo Contributor

Hi,

The field styles don't apply when the field is viewed from an m2m table's list view.

For example, field 'a' is in table T. And Table T is part of a m2m table named u_m2m_T_anothertable. The field 'a' has a style where some color is applied. This color is visible in the list view of table T. But if we display the same field in the list view of u_m2m_T_anothertable (dotwalking -> T.a), the color doesn't show up.


Is it also possible to show the color when the field 'a' is dot-walked?


Regards,

Bala

1 REPLY 1

Dominik Simunek
Tera Guru

epam found solution for that in another thread, see Field styles for the field



For me it worked as well. So in your example the Field Style would have value like:



javascript: current.a == <value> || current.u_t.a == <value>



where the second part applies to situation when the field is in list layout via dot-walking through "u_t" reference to T table.