GridPanel: Can I fit columns into the available width if columns have subcolumns?

  1. #1

    GridPanel: Can I fit columns into the available width if columns have subcolumns?

    Hello,

    Can I fit columns into the available width in this case:
    <Columns>
    <ext:Column Text="Col 1">
      <Columns>
        <ext:Column Text="Col 11" />
        <ext:Column Text="Col 12" />
      </Columns>
    </ext:Column>
    <ext:Column Text="Col 2">
      <Columns>
        <ext:Column Text="Col 21" />
        <ext:Column Text="Col 22" />
      </Columns>
    </ext:Column>
    </Columns>
    I tried to put ForceFit into the grid and various combinations with Flex in column, but it all haven't affected on column fit.
  2. #2
    Hi Yury,

    It is a know problem.
    https://github.com/extnet/Ext.NET/issues/358

    You could try to manage the columns' width manually in a GridPanel's ViewReady and/or AfterLayout.

Similar Threads

  1. Replies: 0
    Last Post: Aug 23, 2012, 11:55 PM
  2. [CLOSED] Grid Columns width
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Feb 11, 2012, 10:37 AM
  3. [CLOSED] PropertyGrid - set width of columns?
    By wagger in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: May 12, 2011, 5:37 PM
  4. [1.0] RowEditor and columns width problem
    By tdracz in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 07, 2010, 1:56 AM
  5. [CLOSED] GridPanel columns width
    By methode in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 03, 2009, 10:04 AM

Posting Permissions