if you use the DataGrid2 widget you shouldn’t really need the grid cell styler widget anymore.
You can use the “dynamic cell class” to apply your css-classes based on conditions.
You can either create your own classes or use the bootstrap 4 classes (useful cheat sheet here)
Below an example:
Search fields on datagrid1 do not have conditional visiblity as a property.
You could have two grids with different search fields and set different visibility on each grid.
Or use a search widget in which you can set conditional visibility per search attribute
thanks for the Answers, will try it.
other way would be to use a Datagrid 2 instead of a normal grid but in the Datagrid 2 is the problem with the grid cell styler widget.
Someone know how to get the columnname of a datagrid 2 ?
thanks for your Answer.
is this working when the attribute is a enum?