Is it possible to customize JavaScript Alert in EIKON Container?

Hi Team,

Any JavaScript alert in EIKON displays JavaScript Alert in the Title bar.

Is it possible to remove that from Title bar/ provide custom tags in Title bar?

image

Also if the alert content is larger, it is not displayed properly in the Alert box. The alert box is of fixed size.

Is it possible to increase the size of the JavaScript Alert box?

image

Best Answer

Answers

  • @ayerajothi A better mechanism would be to use CSS/Javascript to display an emulated modal dialog box. Many standard libraries provide this functionality and allow customization. E.g Using dialog box with jQuery or bootstrap.

    The Eikon way of providing notifications would be to invoke JET.toast() method. See JET documentation within Eikon for more details.