DataGrid search fields positioning

Hi Team, We have created a datagrid in which there are 8 search criteria on search button now they are placed in a single row, we wanted 4 search fields in one row and other 4 in below row. There is no option for CSS on this fields, how can I achieve the above in mendix datagrid.   Thanks In Advance
1 answers

I’d try something like putting a class “search-4-cols” on the grid and then in your scss files something like:

.search-4-cols .mx-grid-search-item {
    width: 25%;


Check the documentation for changing styling etc.

On smaller screens this may cause problems, since the search items will wrap and shrink to fit 4 on a row. Take care.