Hi, working on it. I'll update.
Hi, working on it. I'll update.
sorry but i try it and see nothing update when i change quantity
We didn't change anything yet.
how much time i must wait?
Usually it fails outside the scope of our support because you need to implement some part of custom app logic and use custom JS for updating information the way you need in DB. We'll be glad to help you, but it might take some time, unfortunately I can't tell you exact time.
1) In service oleg_data_update_service in response should be only _updatedAt.
2) on page startScreen in update_service in mapping of Request parameters delete all mapping, on Responce tab add mapping from updatedAt в data to Text
3) On Click on update button run the following code:
code$('[dsid^=mobilegrid_13]').not('[tmpl=true]').each(function(){
var $this = $(this),
quantity = $this.find('[dsid=quantity]').val(),
id = $this.find('[dsid=mobilelabel_22]').text();
update_service.execute({"data":{"object_id":id, "quantity": quantity}});
});/code
You want to change only quantity. That's why when you call the service you only need to send quantity (and object_id). If you want to update any other parameter you need to send it too.
Thank you very much
So if i need to change all parameters on screen and save to database
i must include in code you gived to me changing other parameters?
i thinked when i invoke update service it change data automatically