make the use of filter in grid is optional