[CLOSED] Resize all columns at once

  1. #1

    [CLOSED] Resize all columns at once

    Hi,
    I'd like to resize all columns to the same width as a column resize event..kinda like Excel.
    How can I achieve this effect?
    Last edited by Daniil; Dec 15, 2011 at 2:16 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please set up ForceFit="true" or AutoFill="true" for a GridPanel's View.

    Example
    <ext:GridView runat="server" ForceFit="true" />

    See also

    http://docs.sencha.com/ext-js/3-4/#!...w-cfg-forceFit
    http://docs.sencha.com/ext-js/3-4/#!...w-cfg-autoFill
  3. #3
    HI Danil,
    That may work to fit all columns into my grid, but if I have a grid set to auto-width, and I have 50 columns, and I expand 1 column to 1 inch, I expect all columns to goto 1 inch, and give me a scroll bar to scroll horizontally...
  4. #4
    We would suggest to handle the GridPanel's ColumnResize event to achieve your requirement.
    http://docs.sencha.com/ext-js/3-4/#!...t-columnresize

Similar Threads

  1. Replies: 7
    Last Post: Jan 11, 2012, 3:52 PM
  2. Resize RowEditor columns
    By Dominik in forum 1.x Help
    Replies: 1
    Last Post: Jul 28, 2011, 9:11 AM
  3. [CLOSED] resize FieldLabel
    By 78fede78 in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Dec 13, 2010, 2:38 PM
  4. Replies: 3
    Last Post: Feb 22, 2009, 2:58 PM
  5. Replies: 0
    Last Post: Oct 10, 2008, 12:24 AM

Posting Permissions