1- How to set a column for sorting when creating a grid? , after reloading the grid, it automatically uses this view to display records properly. ) Is it possible to do this on the grid itself so that it does not depend on the main data warehouse?
2- How to change the display of the date format in the grid column? my data displays a date like /Date(1316020760837+0000)/
I tried using renderer: Ext.util.Format.dateRenderer('m/d/Y'),// format: 'md Y'
but it gives me NaN/NaN/NaN
Any help would be appreciated. thanks
source share