infernoz
9 Feb 2012, 12:13 PM
Hello,
I am specifying the format of my date fields when being sent to my server side with the following code:
Ext.JSON.encodeDate = function(d) {
return Ext.Date.format(d, '"n/j/Y G:i:s"');
};
What if I would want one of my writers to the server to use this format, and I want another one to use something different, and a form to use something different from the first two? This specification gets set at the application level correct? How do I specify it at the component (form, Grid, etc) level?
Cheers!
I am specifying the format of my date fields when being sent to my server side with the following code:
Ext.JSON.encodeDate = function(d) {
return Ext.Date.format(d, '"n/j/Y G:i:s"');
};
What if I would want one of my writers to the server to use this format, and I want another one to use something different, and a form to use something different from the first two? This specification gets set at the application level correct? How do I specify it at the component (form, Grid, etc) level?
Cheers!