[CLOSED] [1.0] DataView and Fit layout

  1. #1

    [CLOSED] [1.0] DataView and Fit layout

    Hello,

    I have a strange scenario. I have the following:

                            <ext:ViewPort runat="server">
                                <Items>
                                    <ext:Container runat="server">
                                        <Content>
                                            <h1>Title</h1>
                                            <p>Blah blah blah ... etc</p>
                                        </Content>
                                    </ext:Container>
                                    <ext:DataView runat="server" ...>
                                        <Plugins>
                                            <ext:GenericPlugin runat="server" InstanceName="Ext.DataView.DragSelector" />
                                        </Plugins>
                                    </ext:DataView>
                                </Items>
                            </ext:ViewPort>
    When I run the above and 2 items are displayed in the DataView I can not go to the bottom of the page and use the drag selector to select the items because the DataView has a fixed height.

    Can you suggest how I can get the DataView to use the free space while still having the Container above it?

    Would be nice if DataView had a header footer template ;)

    Cheers,
    Timothy
    Last edited by Daniil; Aug 19, 2010 at 5:05 PM. Reason: [CLOSED]
  2. #2
    Hi,

    I am not sure that clear understood your issue, can you provide test sample?
    If you need to fill free space by DataView then you can use VBox layout in the Viewport and set fixed height for the container and Flex="1" for the dataview

    Would be nice if DataView had a header footer template
    Well, you can always place header html before <tpl> tag and footer html after that tag

Similar Threads

  1. [CLOSED] layout issue when using RowLayout within column layout
    By Daly_AF in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 11, 2012, 2:40 PM
  2. [CLOSED] DataView to DataView Drag and Drop
    By paulc in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: May 10, 2012, 8:19 PM
  3. [CLOSED] VBoxLayout layout does not refresh the layout automatically
    By leon_tang in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 23, 2011, 1:52 PM
  4. [CLOSED] vbox layout inside column layout
    By craig2005 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 04, 2011, 2:44 PM
  5. [CLOSED] Basic Layout question for Layout Fit / AutoHeight
    By macap in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 07, 2010, 11:57 AM

Posting Permissions