Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-3112 in 2.3.1.
  1. #1
    Ext GWT Premium Member
    Join Date
    Feb 2011
    Posts
    1
    Vote Rating
    0
    lfstad-hss is on a distinguished road

      0  

    Default Null Assignment in ColumnModel#getColumnWidth()

    Null Assignment in ColumnModel#getColumnWidth()


    When the GridView is rendered, the ColumnWidth of ColumnModel is read by ColumnModel#getColumnWidth(int colIndex).

    Code:
      /**  
       * Returns the column width.
       * 
       * @param colIndex the column index
       * @return the width
       */
      public int getColumnWidth(int colIndex) {
        ColumnConfig c = getColumn(colIndex);
        return c != null ? c.getWidth() : null;
      }
    If a Column is hidden, the ColumnConfig c is null and null is explicitly assigned to the primitive return value int.

    GXT 2.3

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    404
    Vote Rating
    15
    branflake2267 will become famous soon enough

      0  

    Default


    This has been fixed in the upcoming version.

Thread Participants: 1