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

Re: "draggableColumns:true" - causing errors

Expand Messages
  • y_lsmith
    ... [snip] dragdrop.js needs to come before datatable.js
    Message 1 of 11 , Jul 31, 2008
    • 0 Attachment
      --- In ydn-javascript@yahoogroups.com, "soccerdudemulder"
      <soccerdudemulder@...> wrote:
      >
      > Here is my updated js files in case that helps.
      >
      > <script type="text/javascript"
      > src="../javascript/yahoo-dom-event.js"></script>
      > <script type="text/javascript"
      > src="../javascript/element-beta.js"></script>
      > <script type="text/javascript"
      > src="../javascript/datasource-beta.js"></script>
      > <script type="text/javascript"
      > src="../javascript/datatable-beta.js"></script>
      > <script type="text/javascript" src="../javascript/data.js"></script>
      > <script type="text/javascript" src="../javascript/dragdrop.js"></script>
      >
      [snip]

      dragdrop.js needs to come before datatable.js
    • soccerdudemulder
      That did the fix. Why does this matter though? Aren t those just files that get referenced when they are called from the script? ...
      Message 2 of 11 , Jul 31, 2008
      • 0 Attachment
        That did the fix. Why does this matter though? Aren't those just
        files that get referenced when they are called from the script?

        --- In ydn-javascript@yahoogroups.com, "y_lsmith" <lsmith@...> wrote:
        >
        > --- In ydn-javascript@yahoogroups.com, "soccerdudemulder"
        > <soccerdudemulder@> wrote:
        > >
        > > Here is my updated js files in case that helps.
        > >
        > > <script type="text/javascript"
        > > src="../javascript/yahoo-dom-event.js"></script>
        > > <script type="text/javascript"
        > > src="../javascript/element-beta.js"></script>
        > > <script type="text/javascript"
        > > src="../javascript/datasource-beta.js"></script>
        > > <script type="text/javascript"
        > > src="../javascript/datatable-beta.js"></script>
        > > <script type="text/javascript" src="../javascript/data.js"></script>
        > > <script type="text/javascript"
        src="../javascript/dragdrop.js"></script>
        > >
        > [snip]
        >
        > dragdrop.js needs to come before datatable.js
        >
      • y_lsmith
        ... [snip] Each file builds the library incrementally. datatable-beta.js also assumes that the YAHOO global is in place, for example. yahoo-min.js or
        Message 3 of 11 , Aug 1, 2008
        • 0 Attachment
          --- In ydn-javascript@yahoogroups.com, "soccerdudemulder"
          <soccerdudemulder@...> wrote:
          >
          > That did the fix. Why does this matter though? Aren't those just
          > files that get referenced when they are called from the script?
          >
          [snip]

          Each file builds the library incrementally. datatable-beta.js also
          assumes that the YAHOO global is in place, for example. yahoo-min.js
          or yahoo-dom-event.js or utilities.js must therefore come before
          datatable-beta.js

          DataTable includes a class that extends YAHOO.util.DDProxy in
          dragdrop.js to facilitate the column DnD. That class must be known
          before datatable-beta.js can extend it.

          Luke
        Your message has been successfully submitted and would be delivered to recipients shortly.