genny

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • genny
    Participant

    Ok I did find a way to do this in the onSelectRow, with

    jQuery('#myGrid').setColProp('colname',{editoptions:{dataUrl: myDataUrl + '?id='+id}});

    But it would be great if it could be automatic for every row without having to change this parameter every time.

    Thanks

    genny
    Participant

    Those parameters are added to the edit url, the one that is called to save the row data.

    The url I would like to add the id to is the url used for a specific “select” column to fetch the values that will appear in the combo box, the dataUrl editoptions specified in the colModel.

    Did I miss something?

    Thanks

    Gen

    genny
    Participant

    Hello,

    I'm using the 3.6.4 version of the jqGrid and also need to do exports of grid config, store it, and then reimport it at some later point.

    The bug was fixed for the export, but when importing, the filter does not come right, the url takes the filter as [Object+object].

    I had to quote the whole filters json string in single quotes at lines 163 to 166

    if(gprm.postData.filters != undefined) {

Viewing 3 replies - 1 through 3 (of 3 total)

Stay connected with us in your favorite flavor!