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

14014Re: Datatable enhancement help required

Expand Messages
  • Ted Husted
    Jun 1, 2007
    • 0 Attachment
      This might be more than what you are looking for, but I've been
      working on a composite DataTable widget that provides for a Find /
      List / Edit / View workflow, all from a single object configuration.

      * http://yazaar.org/examples/dataform/tutorial-tabview.html

      It's not in production yet, but we're getting close :)

      HTH, Ted.

      --- In ydn-javascript@yahoogroups.com, "wyzfr" <wyzfr@...> wrote:
      >
      > I finally getting rid of one point : posting the changes. I based the
      > code upon the getRecorset function of the datatable. I added an hidden
      > input field to my form and when I click my submit button I change its
      > value using the following function :
      >
      > function preSubmit(f) {
      > var s;
      > var rec = myDataTable.getRecordSet().getRecords();
      > if (rec.length > 0) s = rec[0]['clientid'] + ', ' +
      > rec[0]['enterdate'] + ', ' + rec[0]['quitdate'];
      > for (var i=1;i<rec.length;i++) {
      > s += '|' + rec[i]['clientid'] + ', ' + rec[i]['enterdate'] + ',
      > ' + rec[i]['quitdate'];
      > }
      > f.data.value = s;
      > }
      >
      > It now remains 2 points...
      >
    • Show all 6 messages in this topic