PDA

View Full Version : Is there any event which gets fired on client side when you sort the extjs 4.1 grid



webfriend13
24 Feb 2015, 5:52 AM
I am using ExtJs 4.1 grid. I have enabled the remoteSort in the store & enabled sortable property for the columns. Everytime I sort\click on column header, a call is made to the server with sort params being passed in the query string.
I want to know if there is a client side event, which gets fired before call is made to the server? I want to check certain condition and based on that I may cancel the call to the server.
Please suggest.

Jad
25 Feb 2015, 6:11 AM
Hello

You have 2 events
sortchange in the grid and in the column
beforeload in the store