DataGridField options (hide/omit, CSS Class)

is it possible to set a CSS Class to the Datagridfield?

What should be the result?
I try to hide (or omit) the DatagriedfieldWidget, if the parent has a specific attribute set:
Is it possible to hide/set attribute to the whole div.field container, or only the input field itself?

This is what I already tried, but it does not work:

class AddForm(DefaultAddForm):
    portal_type = 'indication'

    def updateWidgets(self):
        super(AddForm, self).updateWidgets()
        is_child = self.__parent__.child_adult
        if is_child:
            self.widgets['babyindication'].display_table_css_class = 'hidden'  # first_try
            self.widgets['babyindication'].klass = 'hidden'  # try this

Used Version
Plone 5.1
collective.z3cform.datagridfield = 1.3.0


you could use the "mode" attribute too by setting it to "hidden" to hide it I suppose?