PDA

View Full Version : Getting current grid details like (filter criteria, sort order, visible columns etc)



jitesh_biswal
31 Jan 2013, 11:16 AM
I am working on a specific requirement where user can alter the grid view like changing order of the column, making some column invisible, apply filters to various column and apply sorting order to various column. I have to capture these grid view details and create a excel. How can i capture the these grid view details, so that i can send the details to server to create excel using apache POI. Anyone please provide code sample as i am new to extjs. I am currently using extjs 4.1.3. Early response is much appreciated.

Thanks in advance

mitchellsimoens
4 Feb 2013, 12:41 PM
With each you have to do separate things, there is no silver bullet to get all this info. For the columns, get the columns and loop through them to build an array of the column state. For the data stuff (filter, sort) you need to get that info from the store.