Results 1 to 3 of 3

Thread: Changing column width problem

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    19

    Default Changing column width problem

    Hi,

    The portal has three columns. You can change column width.
    When you add extra widgets into the column, the height of the element that you use to change the width of the column is not updated. The height of the portal itself is updated correctly (vertical scroll appears).

    Look at the attachment.

    Columns Problem.jpg

    When I see via firebug, I can see that the element's height style is set to some definite value
    <div id="portal_col_0-xsplit" class="x-layout-split x-layout-split-west x-splitbar-h" style="left: 510px; top: 0px; height: 401px;">&nbsp;</div>

    I tried to set it as:
    var leftPortalColumn = Ext.get("portal_col_0-xsplit");
    leftPortalColumn.setHeight(10000);
    leftPortalColumn.setHeight("auto");

    but it did not help.

    Please help. I cannot do anything with this

  2. #2

    Default

    Did you ever get this going? I'm trying to work with the portal panel and am wondering how to resize columns.

  3. #3
    Sencha User
    Join Date
    Sep 2010
    Posts
    19

    Default

    Column width change works without any problem.

    The actual problem connected to column heigh change. When I add new widget column height is changed.

    Each time I change columnt height, I count the updated height, and then set the same value to html element with id = "portal_col_0-xsplit".
    Unfortunately I could not resolve it using ExtJs framework.

    By the way, at our project we don't use ExtJs any more...

Similar Threads

  1. Problem with initial column width: last column has width 0
    By dweeb in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 4 Dec 2008, 7:49 AM
  2. Changing the hidden property of the panel cause width problem
    By emredagli in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 13 Jul 2008, 9:17 AM
  3. Opera and column width changing
    By daniel_c in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 13 Mar 2008, 7:22 AM
  4. grid column width changing issue
    By vicy in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 15 Nov 2007, 8:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •