Peter Borsje - Friday, February 7, 2014 3:53 AM:
vasant - Friday, February 7, 2014 7:35 AM:
Hi Peter,
to refresh itemGrid you can run below line of code:
//refresh itemGrid
top.main.work.searchContainer.runSearch();
Thanks - Vasant
Peter Borsje - Friday, February 7, 2014 9:42 AM:
Hi Vasant,
Thank you very much! This works.
This code will do a complete search, is it also possible to update only the selected item in order to get a better performance?
Regard,
Peter
zahar - Friday, February 7, 2014 2:31 PM:
You can use top.aras.itemsCache (client side code) object to update data in grids.
check following functions:
top.aras.isInCache
top.aras.addToCache
top.aras.updateInCache
what those functions do you can review in
Client/javascript/aras_object.js
(and then in)
Client/javascript/client_cache.js