Local store in extjs 4.1

Hi,
I have a grid which loads data based on the button selection (i have 5 buttons). My problem here is the to save the state of the grid when user changes the selection . The grid here is fully customizable it had filters and also adding columns . The state have to save all the added columns and filters as well. Can we use local store to save the data ???. Thanks