This is exactly what I was looking for. I tried to solve this by using json model and populating my json model using ajax calls.
Somehow I missed this detail in SAP documentation but the blog nails it down. Sometimes extra network call associated with odata model is not required if the filtering has to happen for the data which is already present on client side.