I have a simply datagrid (mendix 9.7) with a database source (no microflow or anything just all objects). The Dynamic classes doesn’t show *ANYTHING* available as the available objects. It doesn’t matter if I click on the datagrid or in the column. The token/attribute/etc is all empty and there is nothing available as the current object. What’s the deal? This is about as straightforward as it can get.
you have to put your datagrid inside a dataview to be able to get a current object in your dynamic classes.
Dynamic classes on TR level are actually possible in DG2, but not in DG1 without additional widgets AFAIK. You would need the Grid Cell Styler widget to accomplish this in DG1.