Question

Can we add a scroll bar inside a pop-up alert?

Hi Team,

Is there a way we can add scroll bar to the pop-up alert ? The message in the pop-up is coming from the Notes tab. So the message is quite long and the client is asking if we can have a scroll bar or increase the text space  so that the message gets displayed fully.

 

Kindly help us with the same

 

Thanks & Regards,

Saranya

Like 0

Like

3 comments

Hi Sri Saranya,



Unfortunately, there are no basics tools to implement your business task.



Regards, Bogdan

Bogdan,

Hi Bogdan,

 

Is there a way to achieve it through development?

 

Regards,

Saranya

You can do this with a bit of a hack. First of all, I assume you're talking about a dialog such as a messagebox shown with Terrasoft.showInformation or something similar? If this is an actual dialog or mini page, you can style this easily with .less/css without this hack since you can easily identify those in the markup to apply styles, but this isn't the case with a generic messagebox so you'll need a hack like this. Basically, before you show the messagebox, you'll add a flag to the body, then unset the flag after the message box closes. This allows you to identify *your* specific dialog in the markup so you can apply styles to it. 

Here's what the end results look like:

I wrote up all the steps to do this here: https://customerfx.com/article/adding-style-to-a-messagebox-dialog-in-c…

Ryan

Show all comments