I think you might want to do the rendering
trick and keep the adjustments in account because if you change the actual
timezone and send back new data you’ll have adjusted it so it would be
wrong in the database. Otherwise you should simply take a result handler and
iterate through all the dates fixing them up initially.
Matt
Thanks Manish. I tried out your suggestion but i would still prefer to
change the dataProvider value to be the same
as the value in the
database, rather than just effect the rendering.
thanks
bod
--- In [email protected],
Manish Jethani
<[EMAIL PROTECTED]> wrote:
> On 5/20/05, bhaq1972 <[EMAIL PROTECTED]>
wrote:
>
> >Do you have any recommendation how i
would
> > apply this code before binding to a
datagrid. My result handlers
> > after an async call usually look like
this
> >
> > function resultHandler(result){
> > datagrid1.dataProvider =
result;
> > }
>
> Use a DataGridColumn, set a labelFunction on
it, and format the data
> in the labelFunction.
Yahoo! Groups Links
|