I want to style a single row and avoid defining formatters for each cell of my row. Is there an equivalent of the onStyleRow event for the new Dojo dgrid widget?
Thanks.
I want to style a single row and avoid defining formatters for each cell of my row. Is there an equivalent of the onStyleRow event for the new Dojo dgrid widget?
Thanks.
Copyright © 2021 Jogjafile Inc.
I ended up with two distinct solutions:
In the controller using the dgrid, based on the workaround given at https://github.com/SitePen/dgrid/issues/236#issuecomment-11508012
In my own dgrid definition, but without "use strict" - otherwise this won't work and you'll get this error:
TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
:The styling is done via this simple CSS rule: