The 'onBeforeLoad' event fires before loading the remote data. Returning false will abort the request to the server.
Thanks jarry, your code could be a good start point but on my datagrid I'm using pagination option; when I change page with invalid filter field nothing happens (so your code works fine) but page indicator changed always. How to avoid this?
Another good solution could be to avoid the load data event if the filter is not valid.
For example, is there a way to use "onClickMenu" event introduced by filter-row extension, to avoid adding a filter rule not validated by validatebox?