1. #1
    Ext User
    Join Date
    Feb 2010
    Posts
    25
    Vote Rating
    0
    MikeHat is on a distinguished road

      0  

    Default Grid Row height working differently in 2.2.0

    Grid Row height working differently in 2.2.0


    Hi,

    I have recently switched to 2.2.0 from 2.1.1 and I am noticing a problem with the height of the rows in a grid.

    In 2.1.1 the height of the row was not set in the generated HTML:

    HTML Code:
    <table class="x-grid3-row-table" border="0" cellspacing="0" cellpadding="0" style="width:1218px;">
    However in 2.2.0 the height is set to 21px and this squashes my content where previously the row height expanded to fit:

    HTML Code:
    <table role="presentation" class="x-grid3-row-table" border="0" cellspacing="0" cellpadding="0" style="width:1465px;height:21px;">
    Is there a way to set this programatically without modifying stylesheets?

    Thanks

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Which gridview do you use? It does not get set on the normal one: http://www.sencha.com/examples/explorer.html#basicgrid

    LiveGridView and BufferedView sets it and also need it.

  3. #3
    Ext User
    Join Date
    Feb 2010
    Posts
    25
    Vote Rating
    0
    MikeHat is on a distinguished road

      0  

    Default


    Thanks Sven, I did indeed had a redundant BufferedView in there for some reason.

    Resolved now.

Similar Threads

  1. grid row height
    By kolli in forum Ext GWT: Help & Discussion (1.x)
    Replies: 2
    Last Post: 10 Nov 2010, 11:19 AM
  2. grid row height
    By archmisha in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 13 May 2009, 8:33 PM
  3. Grid - Row height and header row height
    By cebola in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 9 Jul 2008, 5:45 AM
  4. Help with Grid Row Height
    By timothyf in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 28 Feb 2007, 1:32 PM

Thread Participants: 1