HtmlEditor in Gridpanel RowEditor doesn't fit

  1. #1

    HtmlEditor in Gridpanel RowEditor doesn't fit

    Hi,

    I'm having issue with the Htmleditor component when added to RowEditor plugin.
    The height can't be under 100px. I tried to use a specific class to htmleditor forcing height property but doesn't work.

    When i look on the generated html code in Firebug i can see that the Iframe included in the htmleditor doesn't have height property.

    <iframe frameborder="0" name="ext-gen232" style="overflow: auto; width: 127px;" src="about:blank">
    How can I force this height property please ?

    I join a screenshot :
    Click image for larger version. 

Name:	htmleditorissue.PNG 
Views:	127 
Size:	14.9 KB 
ID:	3930

    Thank you
  2. #2
    Hi,

    any idea?

    Thank you
  3. #3
    Hi,

    Please provide a sample to reproduce.
  4. #4
    Hi,

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReleasesAll.aspx.cs" Inherits="WebDesk.ReleasesAll" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <%@ Import  Namespace="System.Data" %>
    <%@ Import  Namespace=" System.Data.SqlClient" %>
    <%@ Import Namespace="SQLTools" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title></title>
        
        <style type="text/css">
             .x-row-editor-body 
               {
               	height: 110px !important;
               }
               
               .x-html-editor-wrap
               {
               	height: 80px !important;
               }
               
        </style>
    </head>
    <body>
        <form id="form1" runat="server">
        <ext:ResourceManager ID="ResourceManager1" runat="server" Namespace="XReleases" />
    <ext:GridPanel runat="server" ID="GP_All_Builds" Frame="true"   Title="Version Builds" Icon="ApplicationOsxDouble" Height="250" >
    <Store>
    	<ext:Store runat="server" ID="Store_All_Builds" AutoLoad="true" >
                    <Reader>
                            <ext:JsonReader IDProperty="Id" >
                                <Fields>
                                <ext:RecordField Name="Id" Type="Int" />
                                ...
                                <ext:RecordField Name="Dependencies" Type="String" />
                                ...
                                </Fields>
                            </ext:JsonReader>
                        </Reader>
                        </ext:Store>
    </Store>
                 <ColumnModel ID="ColumnModel1" runat="server">
                    <Columns>
                        ...
                        <ext:Column Header="Dependency" Width="130" DataIndex="Dependencies" >
                        <Editor>
                        <ext:HtmlEditor runat="server" ID="TA_Dependecies" Height="80" />
                       </Editor>
                        </ext:Column>
                        ...
                      </Columns>
    	</ColumnModel>
    		
    <Plugins>
    <ext:RowEditor ClicksToEdit="2"  />
    </Plugins>
    </ext:GridPanel>
    </form>
    </body>
    </html>
    Tell me if you need more information.

    Thank you.
    Last edited by beufreecasse; Mar 13, 2012 at 6:03 PM.
  5. #5
    Unfortunately, I was unable to reproduce the problem using the sample you've provided.

    When I run the page I see just an empty GridPanel.

    Please extend the sample with binding some dummy data to the GridPanel.

    I expect to just run the sample and reproduce the problem following some steps you will provide if needed.

Similar Threads

  1. Replies: 4
    Last Post: Oct 01, 2012, 9:58 AM
  2. RowEditor Plugin for GridPanel
    By bright in forum 1.x Help
    Replies: 0
    Last Post: Feb 17, 2012, 3:04 PM
  3. Replies: 1
    Last Post: Nov 11, 2010, 8:15 PM
  4. [CLOSED] [1.0] HtmlEditor in Window doesn't work with Portal
    By jchau in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: May 12, 2010, 2:38 PM
  5. ext:HtmlEditor doesn't show tooltips
    By Vicentiu in forum 1.x Help
    Replies: 0
    Last Post: Jan 16, 2010, 3:09 AM

Posting Permissions