When you are using the advanced filter in Grids you can configure the button display mode. In order to do this, you must access the Advanced Search toolbar, as shown below.
On the toolbar configuration screen, enable the Use buttons inline option.
You can set the position of the buttons (right / left) and the number of columns.
The result is displayed below: