So today my colleague experienced issue refreshing ribbon of the grid. According to SDK formContext.ui.refreshRibbon had to to the trick but it did not work. After some digging and googling I found an answer – there is a global function using which it is possible to refresh the grid – refreshRibbon so here is tip for you:
Use
formContext.ui.refreshRibbon();
if you’re playing with grid ribbons use following:
refreshRibbon();
Hi Andrei,
thanks for the tip. I have not found any workaround for UCI on editable/readonly grid ribbon enable rules.
None of the APIs you describe are there (April update enabled and all).
Is this the case on your side as well?
Cheers,
Peter
ah, never mind..
the api is available as described here: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/clientapi/reference/grids/gridcontrol/refreshribbon
Just need to make sure the object passed to the function is the “selectedControl” CRM Parameter
hope that helps someone…
Peter