Jul 22, 2011, 10:26 AM
[CLOSED] how to change the sort name when you are doing the sort by clicking the column header of gridpanel
Hi:
I have a gridpanel which is bind with a store. The store will use HttpProxy which is get the data from controller. The store has a RecordField like:
When I click the header of the column, it automatically reload the data from controller, but the sort name it post to controller is "ItemDescription" which is the field name not the mapping name. I just wonder is there any place which I can set the sort name for the column or recordfield.
Thank you
I have a gridpanel which is bind with a store. The store will use HttpProxy which is get the data from controller. The store has a RecordField like:
<ext:RecordField Name="ItemDescription" Mapping="Description">
I have a column which is bind the data with the field above.When I click the header of the column, it automatically reload the data from controller, but the sort name it post to controller is "ItemDescription" which is the field name not the mapping name. I just wonder is there any place which I can set the sort name for the column or recordfield.
Thank you
Last edited by Daniil; Jul 25, 2011 at 5:56 PM.
Reason: [CLOSED]