Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid removeData

    I am using this code to delete a record from a ListGrid:
    Code:
    var currrentRecord = this.parentElement.lstAlcoholDrugTests.getSelectedRecord();
    currrentRecord.file_id = -1;
    AlcoholDrugTests.removeData(currrentRecord);
    I have noticed that the server gets two transactions per deleted record and data sent to it for the second transation looks like this:
    Code:
    <?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
    <VFPData>
    	<curformfields fldname="_transaction" fldvalue="&lt;transaction xmlns:xsi=&quot;http://www.w3.org/2000/10/"/>
    	<curformfields fldname="protocolversion" fldvalue="1.0"/>
    </VFPData>
    Is that something that has been added in v.6? What's second transation for? Can it be turned off?

    Thanks

    #2
    Hi Mark
    From a quick look, using the standard REST dataSource example in the 6.0 build, it's not obvious why you should be seeing this. Would it be possible to send us complete code to reproduce this issue?
    If you can set up a standalone example that we can run on our end to reproduce the problem, this will greatly simplify our debugging process and we should be able to get you an answer pretty quickly.

    Thanks
    Isomorphic Software

    Comment

    Working...
    X