Blog, Development

Refreshing the ribbon – form vs grid

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();

 

2 Comments

  1. 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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.