Hi guys,

I have a datasource with a CLOB column. This column have html table with one line and one column. This column has some images (using img statement). I have, also, a grid to show other columns and this one. The problem the images are not shown. Here the column value, for instance:

<table><tr><td><img source="../governance/icons/20x20/white_block20.png"></img><img source="../governance/icons/20x20/white_block20.png"></img><img source="../governance/icons/20x20/white_block20.png"></img><img source="../governance/icons/20x20/blue_block20.png"></img><img source="../governance/icons/20x20/blue_block20.png"></img><img source="../governance/icons/20x20/blue_block20.png"></img><img source="../governance/icons/20x20/blue_block20.png"></img><img source="../governance/icons/20x20/blue_block20.png"></img><img source="../governance/icons/20x20/blue_block20.png"></img><img source="../governance/icons/20x20/blue_block20.png"></img><img source="../governance/icons/20x20/white_block20.png"></img><img source="../governance/icons/20x20/white_block20.png"></img><img source="../governance/icons/20x20/white_block20.png"></img><img source="../governance/icons/20x20/white_block20.png"></img><img source="../governance/icons/20x20/white_block20.png"></img><img source="../governance/icons/20x20/white_block20.png"></img><img source="../governance/icons/20x20/white_block20.png"></img><img source="../governance/icons/20x20/white_block20.png"></img><img source="../governance/icons/20x20/white_block20.png"></img></tr></table>

and in grid:

     <column name="diagram" headerLabel="diagram" order="8" headerTextAlign="Center" width="800">
        <htmlEditor column="diagram"/>
     </column>

What is wrong?

Thanks a lot any help, Ricardo

and

asked 05 Nov '15, 18:20

Ricardo's gravatar image

Ricardo
11120
accept rate: 0%

Hi formspider team,

Any idea?

Regards, Ricardo

(10 Nov '15, 07:22) Ricardo

Hi Ricardo,

I guess the problem is related with your HTML syntax. Please try again using "src" instead of "source" attribute in <img> tag. Also, there's a missing </td> tag before the </table> tag.

Hope this helps,
Ibrahim

link

answered 10 Nov '15, 07:40

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Hi Ibrahim,

As usual your tip fixed the problem. I replaced "source" by "src" and the image was shown. But there is another issue that happened after that. In the grid, a horizontal scrollbar appear in column of images, because of it, the images are lower than original. Is there any way to disable this scrollbar? I have tried "scrollBarPolicy=Never", but it didn't work.

Thanks and regards, Ricardo

link

answered 10 Nov '15, 08:27

Ricardo's gravatar image

Ricardo
11120
accept rate: 0%

Hi Ibrahim,

One another information, in Internet Explorer the images was shown correctly, but in Firefox and Chrome no.

Thanks and regards Ricardo

(10 Nov '15, 09:13) Ricardo
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×10
×6

Asked: 05 Nov '15, 18:20

Seen: 1,783 times

Last updated: 11 Nov '15, 03:29


© Copyright Gerger 2017