Categories | Question details Back To List | ||||||||||||||
DHX Grid: Image getting shrinked in the row. Hi there, The image is getting shrinked in my grid. Image Link: http://img340.imageshack.us/my.php?image=gridimageshrinkproblemhu2.jpg Answer posted by Support on Oct 01, 2008 03:30 The link above doesn't point to anything. By the way, you can attach image directly to the posts - it can be done if you adding it through full version - http://dhtmlx.com/docs/products/kb/index.php Answer posted by Tejas Shah on Oct 01, 2008 04:34 Hi there,
I have attached the file. Please look into the matter. Attachments (1)
Answer posted by Support on Oct 01, 2008 05:19 There are two possible reasons a) if you are using inline HTML and by some matter the img has class="space" it will be limited to 18px b) by default height of row limited to 20px, you need to enable multiline mode to remove such limitaton grid.enableMultiline(true); Answer posted by Tejas Shah on Oct 03, 2008 00:18 Hi there, I tried using enableMultiline(); but still it doesn't solve the problem in Internet Explorer. I have attached the image so you can have a look into it. I have written something like following in XML which gets created thru java. sidImage=path+"/images/text.png"; sb.append("<cell><![CDATA[<img src="+sidImage+" style=\"behavior: url('"+path+"/images/iepngfix.htc');\"></a>]]></cell>"); Attachments (1)
Answer posted by Support on Oct 03, 2008 02:05 The code which you are using must not cause any problem. I'm not sure about effect of attached behavior, can it be that it assign height of image dynamically? The issue may be caused by the global css styles of img tag, or by behavior, the grid doesn't set size for images loaded in such manner. If issue still occurs for you - please provide any kind of sample or demo link where issue can be reconstructed. |