Roger Blanchard
447 posts
Registered:
29 Jun 2018
22 Jan 2019
in reply to
Roger Blanchard
Link to this post
The following will work. However, If there is a way to delete the record from the local TT/Grid without committing to DB that would be great.
Thanks.
/* Roger Blanchard / Osprey Retail Systems Jan 22, 2019
The following seems to work;
1. Get the Index from the current ActiveRow
2. Call BE Adapter:RetrieveData which will now exclude the record we are on
3. Call our UltraGridHelper:SetActiveGridRow
*/
iActiveRowIndex = THIS-OBJECT:PurchaseOrderBrowser:ActiveRow:Index.
THIS-OBJECT:PurchaseOrderAdapter:RetrieveData().
Osprey.Infragistics.Util.UltraGridHelper:SetActiveGridRow(THIS-OBJECT:PurchaseOrderBrowser, iActiveRowIndex).