Page 1 of 1

HTML Area not Displaying?

PostPosted: Sat Dec 11, 2021 1:47 am
by john1598360627
PROBLEM

HTML Area element is not appearing data provider under certain situations.

EXAMPLE
I have a dataprovider that showcases html. This dataprovider shows up in the NG Grid columns for example.

Now, when I try and showcase this dataprovider within an HTML Area it just appears blank. Only the toolbar of the HTML Area is there... Sometimes. Other dataproviders will appear just fine. Other's won't.

VERSION
Version: 2021.3.0.3642

COMMENTS
I have no idea why it's working for some dataproviders and not others.

My only guesstimate is that some of the data may actually have Rich Text instead of HTML, would that cause any conflicts with the HTML Area?

Re: HTML Area not Displaying?

PostPosted: Mon Dec 13, 2021 5:50 pm
by ROCLASI
Hi John,
john1598360627 wrote:My only guesstimate is that some of the data may actually have Rich Text instead of HTML, would that cause any conflicts with the HTML Area?


Yes, Rich Text will not render in a HTML Area. For that you have the RTF_AREA display type.

Hope this helps.

Re: HTML Area not Displaying?

PostPosted: Thu Dec 16, 2021 2:19 am
by john1598360627
So I looked up the database data. I can confirm that the text is just text with some newline breaks every so often.

I did something though, I switched the dataprovider for the html area that is working with one that isn't work and... the dataprovider works ONLY on one HTML Area. Even stranger is that the text appears if I do attach it to a textbox.

1st - Textbox displaying the dataprovider.
2nd - HTML Area not displaying the same dataprovider
Screenshot 2021-12-15 141252.png
Screenshot 2021-12-15 141252.png (3.32 KiB) Viewed 3309 times


The final HTML Area on the page, displaying the same dataprovider as the previous elements. However, shows up ONLY in this last HTML Area. It it setup the exact same way as the other HTML Area mind you.
Screenshot 2021-12-15 141232.png
Screenshot 2021-12-15 141232.png (3.25 KiB) Viewed 3309 times



... What is going on? Is only one HTML Area allowed on a page at a single time? Why does only one HTML Area work at a time?

Re: HTML Area not Displaying?

PostPosted: Wed Jan 12, 2022 2:38 am
by john1598360627
I'm still curious as to why only 1 HTML Area can be shown on a page at a time!

Re: HTML Area not Displaying?

PostPosted: Wed Jan 12, 2022 2:45 pm
by jcompagner
i did a quick test and it works fine for
2 html area's both the same dataprovider and it is showing fine and i can adjust one or the other.

Re: HTML Area not Displaying?

PostPosted: Thu Jan 13, 2022 1:37 am
by john1598360627
jcompagner wrote:i did a quick test and it works fine for
2 html area's both the same dataprovider and it is showing fine and i can adjust one or the other.

I'm using multiple different dataproviders per HTML area. 3 different HTML Areas, 3 different dataproviders. Is only 1 dataprovider allowed for HTML areas per form?

Re: HTML Area not Displaying?

PostPosted: Thu Jan 13, 2022 10:18 am
by jcompagner
no that shoudn't matter at all, then they don't have any relation or notion of each other..