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

12880Re: Problem in Yahoo UI Datatable beta .

Expand Messages
  • tssha
    May 1, 2007
      --- In ydn-javascript@yahoogroups.com, "Jayaprakash" <jpvalappil@...>
      wrote:
      >
      > Hi all,
      >
      > I am having some difficulty with the YUI data table. I am able to
      > produce under normal circumstances like using JSON data, JavaScript
      > array, etc.
      >
      > What I am trying to achieve here is I have an XML file from my data
      > resides. I access the XML file using JavaScript and retrieves the data
      > and create a table that contains the XML data inside a div block that
      > has a unique ID to identify it. Everything works correctly upto this
      > point I mean I've displayed the table inside the <body> of the document.
      >
      > Now I am trying to make the above mentioned table into a data table and
      > at that point the problem starts it shows two errors one in yahoo.js
      > file and the other in datatable-beta.js file.
      > <script type="text/javascript"
      > src="../../build/yahoo/yahoo.js"></script>
      > <script type="text/javascript"
      > src="../../build/datasource/datasource-beta-debug.js"></script>
      > <script type="text/javascript"
      > src="../../build/datatable/datatable-beta-debug.js"></script>
      > <script type="text/javascript"
      > src="../../build/dom/dom.js"></script>
      > <script type="text/javascript"
      > src="../../build/event/event.js"></script>

      Try re-ordering the script sequence:

      <script type="text/javascript"
      src="../../build/yahoo/yahoo.js"></script>
      <script type="text/javascript"
      src="../../build/dom/dom.js"></script>
      <script type="text/javascript"
      src="../../build/event/event.js"></script>
      <script type="text/javascript"
      src="../../build/datasource/datasource-beta-debug.js"></script>
      <script type="text/javascript"
      src="../../build/datatable/datatable-beta-debug.js"></script>

      If you have a look at the "getting started" section at
      http://developer.yahoo.com/yui/datatable/, you'll notice DOM and Event
      both precede DataSource and DataTable.

      Regards.
      Thomas
    • Show all 3 messages in this topic