?expand function in Odata Grids

Just for my genereal understanding:
Is the "?expand=" function from this KB Article also available in oData Grids other than the predefined collections?
https://kb.cireson.com/article/custom-grids/2612
If yes, is it possible to combine it with the "?$filter=" function? Because I failed miserably and was not able to make it work.