Horizontal Line Inside the FormPanel

  1. #1

    Horizontal Line Inside the FormPanel

    Hi..

    In our project, i've bind data to Form Panel and Displayed Data in Text boxes.

    There are Three categories, so i want to divide them using the Horizontal Line(As i Shown in Image bellow). Is It Possible to Draw Horizontal line in Form Panel.

    if not what is the alternative solution for that ?
    Attached Thumbnails Click image for larger version. 

Name:	HorizontalLine.JPG 
Views:	745 
Size:	36.3 KB 
ID:	2227  
  2. #2
    Grouping of Fields would typically be done using an <ext:Fieldset> component.

    Another option would be setting FormGroup="true" on the parent Container of the Fields.

    Hope this helps.
    Geoffrey McGill
    Founder
  3. #3

    HR in ext.net

    Class:

    using Ext.Net;
    
    namespace ui
    {
        public sealed class Hr : Component
        {
            public Hr() {
                Flex = 1;
                RenderTpl = new XTemplate {Html = "<hr/>"};
            }
        }
    }
    CSS:
            hr {
                background-color: #bbb;
                border: 0 none;
                color: #bbb;
                height: 1px;
                margin-bottom: 15px;
                margin-top: 15px;
            }
    Usage "wherever" you want in ext.net layout:

    <ui:Hr runat="server" />

Similar Threads

  1. GridPanel inside a FormPanel
    By cajun in forum 1.x Help
    Replies: 1
    Last Post: May 08, 2012, 1:36 PM
  2. Replies: 2
    Last Post: Dec 29, 2011, 8:07 PM
  3. [CLOSED] Horizontal Layout inside FormLayout panel
    By jwf in forum 1.x Legacy Premium Help
    Replies: 14
    Last Post: Sep 16, 2011, 3:23 PM
  4. [CLOSED] Formpanel with 2 fields on the same line
    By 78fede78 in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Oct 25, 2010, 9:10 PM
  5. Replies: 2
    Last Post: Sep 21, 2010, 11:14 AM

Posting Permissions