26 Jul 2013 12:25 PM #1
How do I sort a column based on another column in an ext grid
I'm using Extjs 2.2. I have a grid that shows one column "Name". The store associated with that grid has two fields: "name" and "sortCode". When I click on the "Name" header, I want the grid to be sorted by "SortCode".
I know that Ext 4 has a getSortParam() that I could specify on the colomn to get the right sort parameter, does Ext 2.2 have something similar?