Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Apr 22, 2008 02:47
open dhtmlx forum
Display image if the cell type is link.

Hi,
I'm having a problem in displaying the image if the cell
type="link".
Is it not possible to display image in the cell if its type is link?

Also, i'm having one more problem with the image placement. I want to display a small popup image(triangular shaped image) at the top corner of the grid. for this functionality i used the syntax
"vertical-align:top;"
With this syntax the image is being displayed exactly on right top of the text that is present in the grid. I want the image to be in the border of the top corner. How can i acheive this functionality?
Could you please suggest the syntax if i'm wrong?


Answer posted by Support on Apr 22, 2008 03:48
I think the "foat:right" will work in your case.

    <cell><![CDATA[ <span style='float:right'>A</span> B ]]></cell>
Answer posted on Apr 22, 2008 04:08

Hi,

 The solution sent by you works, But the image settles at the bottom right corner instead of the top right corner? Also, i was struck with the syntax regarding the issue mentioned.

I'm having a problem in displaying the image if the cell
type="link".
Is it not possible to display image in the cell if its type is link?

Answer posted by Support on Apr 22, 2008 05:04
You can place any HTML content inside link column type as well - please check attached sample.
Attachments (1)