Where to write filter method for ax grid in ep pages 2012

Hi…

I am very new to ep 2012 development,where we have to find the standard filter button code…