jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • pdave
    Participant

    Thank you Peter for replying. In that example, the following code passes hard coded values:
    data: {
    featureClass: “P”,
    style: “full”,
    maxRows: 50
    }

    How do I pass the values of the selected row? Also in your master detail grid example, how do I have more than 1 ID in:
    // prepare the data
    var source =
    {
    datatype: “json”,
    datafields: [
    { name: ‘CustomerID’, type: ‘string’},
    { name: ‘CompanyName’, type: ‘string’},
    { name: ‘ContactName’, type: ‘string’},
    { name: ‘ContactTitle’, type: ‘string’},
    { name: ‘Address’, type: ‘string’},
    { name: ‘City’, type: ‘string’}
    ],
    id: ‘CustomerID’,
    url: ‘data.php’,
    cache: false,
    root: ‘Rows’,
    beforeprocessing: function (data) {
    source.totalrecords = data[0].TotalRows;
    }
    };


    pdave
    Participant

    Anyone find the answer to this?

Viewing 2 posts - 1 through 2 (of 2 total)