27
Views
6
Comments
[InjectHTML] Strange behavior in table column
injecthtml
Reactive icon
Forge asset by Jordan Welch
Application Type
Reactive

Hi.  
I have been using this widget throughout my application without problems.  
But it doesn't seem to work correctly inside of a column in a table.  
I am displaying the same texts as a list in another location in my application and there it works correctly.

Why does it overflow my column? 

UserImage.jpg
Sumit Kanojia

Hi, 

@Aron Skúlason

Can you please share your OML file if possible. 

Regards, 

Sumit


UserImage.jpg
Aron Skúlason

I made a new project to show the problem:

InjectHTMLTEST.oml
UserImage.jpg
Sumit Kanojia

Hello, @Aron Skúlason 

you are using HTML Entities for "<" and ">" (that is "& l t ;" and "& g t ;" without spaces), which are creating issues. i replace this and it works fine.

Best regards 

Sumit

InjectHTMLTEST_New.oml
UserImage.jpg
Aron Skúlason

Thanks for the reply. 
The problem is still there though, that is the table width is getting bigger (because of the text in line no 1). The second column fails to keep it's width.
Object3 was probably only diverting attention from  my real problem :) 

UserImage.jpg
Sumit Kanojia

Hello, @Aron Skúlason 

use "style=text-wrap: wrap;", It will do the job.

hope this will help

Best regards 

Sumit

UserImage.jpg
Aron Skúlason

This doesn't seem to work either. My table is still wider than my screen.  Does this work for you?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.