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

Re: DataTable w/ DataSource - actual dynamic content?

Expand Messages
  • benjamin_m_hill
    Have a work-around in place: searchDataTable.getRecordSet().reset(); searchDataTable.dataSource.sendRequest( query, searchDataTable.onDataReturnPopulateTable,
    Message 1 of 2 , May 8, 2007
    • 0 Attachment
      Have a work-around in place:

      searchDataTable.getRecordSet().reset();
      searchDataTable.dataSource.sendRequest(
      query,
      searchDataTable.onDataReturnPopulateTable,
      searchDataTable);


      --- In ydn-javascript@yahoogroups.com, "benjamin_m_hill"
      <benjamin_m_hill@...> wrote:
      >
      > Has anyone gotten a DataTable to act dynamically? All of the examples
      > for the DataTable component use "load-only-once-at-first-time" to
      > populate the table, where as I'm looking to populate the table based
      > on the JSON results of a query. (Much like AutoComplete, but with the
      > added functionality of the DataTable layout)
      >
      > My guess is that I need to set something in the DataTable's config,
      > then fire off a "go get the data again" event... something like
      > "onDataReturnPopulateTable"
      >
      > oDataSource.sendRequest is only called in the DataTable constructor...
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.