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

Re: Problem in Yahoo UI Datatable beta .

Expand Messages
  • tssha
    ... Try re-ordering the script sequence:
    Message 1 of 3 , May 1 9:09 PM
    • 0 Attachment
      --- 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
    • Jayaprakash
      Hi Thomas, Thanks a lot for showing my error. It is working perfectly now. Thanks a lot man for the prompt help Regards Jayaprakash ... JavaScript ... data ...
      Message 2 of 3 , May 1 9:23 PM
      • 0 Attachment
        Hi Thomas,

        Thanks a lot for showing my error. It is working perfectly now.

        Thanks a lot man for the prompt help

        Regards

        Jayaprakash

        --- In ydn-javascript@yahoogroups.com, "tssha" <tsha@...> wrote:
        >
        > --- 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
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.