How to filter a backend grid programmatically?

See also:

How to filter a database collection?