Loading ...
Sorry, an error occurred while loading the content.

Re: Problem with using a DateCellEditor with asyncSubmitter on a DataTable control

Expand Messages
  • jamie.young
    That was what I was missing, I didn t realize that the data needed to be parsed there as well. Thanks!
    Message 1 of 6 , Jul 27 10:52 AM
    • 0 Attachment
      That was what I was missing, I didn't realize that the data needed to be parsed there as well.

      Thanks!

      --- In ydn-javascript@yahoogroups.com, Satyam <satyam@...> wrote:
      >
      > That is the one, sorry, you already had it there, I saw the other call
      > to callback() with no arguments a few lines below and didn't see this one.
      >
      > Does r.data contain the data to be shown? If you are using a parser for
      > it when reading it (which you do), you need to parse it here as well, like:
      >
      > callback(true, YAHOO.util.DataSource.parseDate(r.data));
      >
      > otherwise the calendar will not understand what went into that cell and
      > will fail.
      >
      > Satyam
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.