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

Re: [ydn-javascript] Refresh data table with data from the database

Expand Messages
  • Satyam
    See: http://developer.yahoo.com/yui/datatable/#datasource the section titled Getting More Data. The examples shows how to append extra rows, but you would
    Message 1 of 3 , Jul 28, 1940
    • 0 Attachment
      See:

      http://developer.yahoo.com/yui/datatable/#datasource

      the section titled Getting More Data.

      The examples shows how to append extra rows, but you would replace what
      is there so you would use |onDataReturnInitializeTable|
      <http://developer.yahoo.com/yui/docs/YAHOO.widget.DataTable.html#onDataReturnInitializeTable>
      instead, see:

      http://developer.yahoo.com/yui/datasource/#hooking

      Satyam


      jmcdonald69124 wrote:
      > Hello,
      >
      > I am running into a problem where when I requery the database the
      > returned results are not placed in the datatable, I have tried insert
      > rows, deleting the records and appending rows, before callback
      > iterating through the array oresponse shows the old data, however, I
      > know the data has changed as I implemented the delete row method satyam
      > put up and it works like a charm. There are reasons why I need to
      > refresh the complete dataset from the database opposed to just
      > programatically going into the data element and updating the field
      > values to the values that the user put in. Any ideas would be great.
      >
      > Josh
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      > No virus found in this incoming message.
      > Checked by AVG - http://www.avg.com
      > Version: 8.0.138 / Virus Database: 270.6.11/1639 - Release Date: 28/08/2008 7:39
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.