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

Re: dropdown in datatable

Expand Messages
  • dimus_99
    formatDropdown : function (datatable-debug.js v.2.6) lines 3384-3385: optionEl.innerHTML = (lang.isValue(option.text)) ? option.text : option; sorry about
    Message 1 of 3 , Dec 1, 2008
    • 0 Attachment
      formatDropdown : function (datatable-debug.js v.2.6)

      lines 3384-3385:
      optionEl.innerHTML = (lang.isValue(option.text)) ?
      option.text : option;

      sorry about delay, was on vacation ..
      Thanks,
      Dmitry


      --- In ydn-javascript@yahoogroups.com, Satyam <satyam@...> wrote:
      >
      > Properties "value" and "label" are correct for 2.6, "value"
      and "text"
      > used to be the old property names. However, where exactly is it
      that
      > you found them? I couldn't locate it. Obviously something that was
      > unnoticed with the new revision.
      >
      > Satyam
      >
      >
      > dimus_99 wrote:
      > > Hello,
      > > Per documentation on the very first page devoted to datatable it
      is
      > > stated that: "The values for CellEditor dropdownOptions must be
      either
      > > a simple Array or an Array of object literals with
      properties "value"
      > > and "label"."
      > >
      > > And it seems to be fine in DropDownCellEditor ... however in the
      very
      > > same file in datatable.js method formatDropdown expected "value"
      > > and "text" while formatting ddl in grid ...
      > >
      > > Am I'm missing something ?
      > >
      > >
      > >
      > > ------------------------------------
      > >
      > > Yahoo! Groups Links
      > >
      > >
      > >
      > > ------------------------------------------------------------------
      ------
      > >
      > >
      > > No virus found in this incoming message.
      > > Checked by AVG - http://www.avg.com
      > > Version: 8.0.175 / Virus Database: 270.9.2/1783 - Release Date:
      12/11/2008 10:01
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.