P
Peter Judge
Guest
There's a remove() method in the JSDO. The snippet below is an example of its use. var vehicle = VehicleOrderService_BrandDataService_JSDO.jsdo .eVehicle .findById($(selectedElement).attr('data-vehicle-id')); vehicle.remove() When you remove a record client-side, you can then call an *_Update service operation. That will cause the delete operation to be called on the server, and you can now find and mark PDS records as deleted. Make sure that when you call the Update operation that you supply an _id value (you can map it from localStorage) so that the JSDO knows which record you are updating. hth, -- peter
Continue reading...
Continue reading...